protected static interface RequestWriter.RequestEntityWriter
An instance of a RequestEntityWriter
is obtained by
invoking the RequestWriter.getRequestEntityWriter(com.sun.jersey.api.client.ClientRequest)
method.
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.MediaType |
getMediaType() |
long |
getSize() |
void |
writeRequestEntity(OutputStream out)
Write the request entity.
|
long getSize()
javax.ws.rs.core.MediaType getMediaType()
void writeRequestEntity(OutputStream out) throws IOException
out
- the output stream to write the request entity.IOException
Copyright © 2013 Oracle Corporation. All rights reserved.