public class ObjectSerializationResponseSerializer extends ObjectSerializationUtil implements IRemoteCallResponseSerializer
DEFAULT_BAOS_BUFFER_SIZE
Constructor and Description |
---|
ObjectSerializationResponseSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serializeResponse(javax.servlet.http.HttpServletResponse resp,
Object responseObject)
Serialize responseObject to HttpServletResponse
|
deserializeFromBytes, readToByteArray, serializeToBytes, writeByteArray
public ObjectSerializationResponseSerializer()
public void serializeResponse(javax.servlet.http.HttpServletResponse resp, Object responseObject) throws IOException, javax.servlet.ServletException
IRemoteCallResponseSerializer
serializeResponse
in interface IRemoteCallResponseSerializer
resp
- the HttpServletResponse object. Will not be null
.responseObject
- to serialize to respIOException
- if resposeObject cannot be serializedjavax.servlet.ServletException
- if responseObject cannot be serializedCopyright © 2017. All rights reserved.