Package spark.http.matching
Class Body
- java.lang.Object
-
- spark.http.matching.Body
-
final class Body extends java.lang.Object
Represents the 'body'
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
content
-
Constructor Summary
Constructors Modifier Constructor Description private
Body()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Body
create()
java.lang.Object
get()
boolean
isSet()
boolean
notSet()
void
serializeTo(javax.servlet.http.HttpServletResponse httpResponse, SerializerChain serializerChain, javax.servlet.http.HttpServletRequest httpRequest)
void
set(java.lang.Object content)
-
-
-
Method Detail
-
create
public static Body create()
-
notSet
public boolean notSet()
-
isSet
public boolean isSet()
-
get
public java.lang.Object get()
-
set
public void set(java.lang.Object content)
-
serializeTo
public void serializeTo(javax.servlet.http.HttpServletResponse httpResponse, SerializerChain serializerChain, javax.servlet.http.HttpServletRequest httpRequest) throws java.io.IOException
- Throws:
java.io.IOException
-
-