Package com.appslandia.plum.base
Class ResponseValueImpl
- java.lang.Object
-
- com.appslandia.plum.base.ResponseValueImpl
-
- All Implemented Interfaces:
ResponseValue,Serializable
public class ResponseValueImpl extends Object implements ResponseValue, Serializable
- Author:
- Loc Ha
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResponseValueImpl(com.appslandia.common.base.MemoryStream content, HeaderValue[] headers, String etag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEtag()HeaderValue[]getHeaders()longsize()voidwriteTo(OutputStream out)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.appslandia.plum.base.ResponseValue
writeHeaders
-
-
-
-
Constructor Detail
-
ResponseValueImpl
public ResponseValueImpl(com.appslandia.common.base.MemoryStream content, HeaderValue[] headers, String etag)
-
-
Method Detail
-
writeTo
public void writeTo(OutputStream out) throws IOException
- Specified by:
writeToin interfaceResponseValue- Throws:
IOException
-
getHeaders
public HeaderValue[] getHeaders()
- Specified by:
getHeadersin interfaceResponseValue
-
getEtag
public String getEtag()
- Specified by:
getEtagin interfaceResponseValue
-
size
public long size()
- Specified by:
sizein interfaceResponseValue
-
-