com.sun.jersey.api.client
Interface ClientRequestAdapter

All Known Implementing Classes:
AbstractClientRequestAdapter, ClientRequestImpl

public interface ClientRequestAdapter

Adapter for the client request to adapt the output stream to write the entity. This can enable logging or compression of the request entity.

Author:
Paul.Sandoz@Sun.Com

Method Summary
 OutputStream adapt(ClientRequest request, OutputStream out)
          Adapt the output stream of the client request.
 

Method Detail

adapt

OutputStream adapt(ClientRequest request,
                   OutputStream out)
                   throws IOException
Adapt the output stream of the client request.

Parameters:
request - the client request
out - the output stream to write the request entity.
Returns:
the adapted output stream to write the request entity.
Throws:
IOException


Copyright © 2013 Oracle Corporation. All Rights Reserved.