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
adapt
OutputStream adapt(ClientRequest request,
OutputStream out)
throws IOException
- Adapt the output stream of the client request.
- Parameters:
request
- the client requestout
- the output stream to write the request entity.
- Returns:
- the adapted output stream to write the request entity.
- Throws:
IOException
Copyright © 2011 Oracle Corporation. All Rights Reserved.