Class AsyncRequestContent
java.lang.Object
org.eclipse.jetty.io.content.AsyncContent
org.eclipse.jetty.client.AsyncRequestContent
- All Implemented Interfaces:
 Closeable, AutoCloseable, Request.Content, Content.Sink, Content.Source
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Content.Source
Content.Source.Factory - 
Constructor Summary
ConstructorsConstructorDescriptionAsyncRequestContent(String contentType, ByteBuffer... buffers) AsyncRequestContent(ByteBuffer... buffers)  - 
Method Summary
Methods inherited from class AsyncContent
close, count, demand, fail, fail, flush, getLength, isClosed, read, write 
- 
Constructor Details
- 
AsyncRequestContent
 - 
AsyncRequestContent
 
 - 
 - 
Method Details
- 
getContentType
- Specified by:
 getContentTypein interfaceRequest.Content- Returns:
 - the value of the 
Content-Typeheader for the request content, such astext/html;charset=utf-8orapplication/json, ornullto use the value fromHttpClient.getDefaultRequestContentType() 
 - 
write
 
 -