Package org.apache.juneau.http.resource
Interface HttpResource
- All Superinterfaces:
- HttpEntity
- All Known Implementing Classes:
- BasicResource,- ByteArrayResource,- FileResource,- ReaderResource,- StreamResource,- StringResource
An extension of an 
HttpEntity that also includes arbitrary headers.
 
 While HttpEntity beans support 
 For example, you might want to be able to create an entity with a 
   
See Also:
- 
Method SummaryModifier and TypeMethodDescriptionReturns the list of headers associated with this resource.Methods inherited from interface org.apache.http.HttpEntityconsumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isRepeatable, isStreaming, writeTo
- 
Method Details- 
getHeadersReturns the list of headers associated with this resource.Note that this typically does NOT include headers associated with HttpEntity(e.g.Content-Type ,Content-Encoding , andContent-Length ).- Returns:
- The list of headers associated with this resource.
 
 
-