Class ObjectSerializationResponseSerializer
java.lang.Object
org.eclipse.ecf.remoteservice.util.ObjectSerializationUtil
org.eclipse.ecf.remoteservice.servlet.ObjectSerializationResponseSerializer
- All Implemented Interfaces:
IRemoteCallResponseSerializer
public class ObjectSerializationResponseSerializer
extends ObjectSerializationUtil
implements IRemoteCallResponseSerializer
-
Field Summary
Fields inherited from class org.eclipse.ecf.remoteservice.util.ObjectSerializationUtil
DEFAULT_BAOS_BUFFER_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serializeResponse
(javax.servlet.http.HttpServletResponse resp, Object responseObject) Serialize responseObject to HttpServletResponseMethods inherited from class org.eclipse.ecf.remoteservice.util.ObjectSerializationUtil
deserializeFromBytes, readToByteArray, serializeToBytes, writeByteArray
-
Constructor Details
-
ObjectSerializationResponseSerializer
public ObjectSerializationResponseSerializer()
-
-
Method Details
-
serializeResponse
public void serializeResponse(javax.servlet.http.HttpServletResponse resp, Object responseObject) throws IOException, javax.servlet.ServletException Description copied from interface:IRemoteCallResponseSerializer
Serialize responseObject to HttpServletResponse- Specified by:
serializeResponse
in interfaceIRemoteCallResponseSerializer
- Parameters:
resp
- the HttpServletResponse object. Will not benull
.responseObject
- to serialize to resp- Throws:
IOException
- if resposeObject cannot be serializedjavax.servlet.ServletException
- if responseObject cannot be serialized
-