Class Body

java.lang.Object
spark.http.matching.Body

final class Body extends Object
Represents the 'body'
  • Field Details

    • content

      private Object content
  • Constructor Details

    • Body

      private Body()
  • Method Details

    • create

      public static Body create()
    • notSet

      public boolean notSet()
    • isSet

      public boolean isSet()
    • get

      public Object get()
    • set

      public void set(Object content)
    • serializeTo

      public void serializeTo(javax.servlet.http.HttpServletResponse httpResponse, SerializerChain serializerChain, javax.servlet.http.HttpServletRequest httpRequest) throws IOException
      Throws:
      IOException