Package org.eclipse.jetty.client
Interface Request.Content
- All Superinterfaces:
Content.Source
- All Known Implementing Classes:
AsyncRequestContent
,ByteBufferRequestContent
,BytesRequestContent
,ContentSourceRequestContent
,FormRequestContent
,InputStreamRequestContent
,MultiPartRequestContent
,OutputStreamRequestContent
,PathRequestContent
,ProxyHandler.ProxyRequestContent
,ProxyServlet.ProxyInputStreamRequestContent
,ProxyServlet.ProxyInputStreamRequestContent
,ProxyServlet.ProxyInputStreamRequestContent
,StringRequestContent
- Enclosing interface:
Request
A client-side representation of HTTP request content.
-
Method Summary
-
Method Details
-
getContentType
- Returns:
- the value of the
Content-Type
header for the request content, such astext/html;charset=utf-8
orapplication/json
, ornull
to use the value fromHttpClient.getDefaultRequestContentType()
-