Interface Request.Content

All Superinterfaces:
Content.Source
All Known Implementing Classes:
AsyncRequestContent, ByteBufferRequestContent, BytesRequestContent, ContentSourceRequestContent, FormRequestContent, InputStreamRequestContent, MultiPartRequestContent, OutputStreamRequestContent, PathRequestContent, ProxyHandler.ProxyRequestContent, ProxyServlet.ProxyInputStreamRequestContent, StringRequestContent
Enclosing interface:
Request

public static interface Request.Content extends Content.Source

A client-side representation of HTTP request content.

  • Method Details

    • getContentType

      default String getContentType()
      Returns:
      the content type string such as "application/octet-stream" or "application/json;charset=UTF8", or null if the Content-Type header must not be set