Class RequestMarshaller

java.lang.Object
com.zfabrik.impl.gateway.home.RequestMarshaller

public class RequestMarshaller extends Object
Marshalling a servlet request into its original wire format - and supporting streaming. This is used to forward an incoming request to a worker node.
  • Constructor Details

    • RequestMarshaller

      public RequestMarshaller(javax.servlet.http.HttpServletRequest request) throws IOException
      Throws:
      IOException
  • Method Details

    • getChunk

      public byte[] getChunk() throws Exception
      provide a chunk of the request data.
      Returns:
      Throws:
      Exception
    • toByteArray

      public byte[] toByteArray() throws Exception
      Throws:
      Exception