Package spark.http.matching
Class Body
- java.lang.Object
-
- spark.http.matching.Body
-
final class Body extends java.lang.ObjectRepresents the 'body'
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Objectcontent
-
Constructor Summary
Constructors Modifier Constructor Description privateBody()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Bodycreate()java.lang.Objectget()booleanisSet()booleannotSet()voidserializeTo(javax.servlet.http.HttpServletResponse httpResponse, SerializerChain serializerChain, javax.servlet.http.HttpServletRequest httpRequest)voidset(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
-
-