Uses of Interface
org.microproxy.http.HttpMessage
Packages that use HttpMessage
Package
Description
-
Uses of HttpMessage in org.microproxy.cache
Classes in org.microproxy.cache that implement HttpMessageModifier and TypeClassDescriptionstatic final classA response made by the cache: a stored response, or its own504. -
Uses of HttpMessage in org.microproxy.contentviews
Methods in org.microproxy.contentviews with parameters of type HttpMessageModifier and TypeMethodDescriptionstatic ContentView.MetadataContentView.Metadata.forResponse(HttpRequest request, HttpMessage response) Metadata for a response's body. -
Uses of HttpMessage in org.microproxy.extras
Classes in org.microproxy.extras that implement HttpMessageModifier and TypeClassDescriptionstatic final classA response answered from a recording, which the proxy reports asResponseSource.REPLAY. -
Uses of HttpMessage in org.microproxy.http
Subinterfaces of HttpMessage in org.microproxy.httpModifier and TypeInterfaceDescriptioninterfaceA complete HTTP message: head and whole body in one object.interfaceA complete HTTP request.interfaceA complete HTTP response.interfaceThe head of an HTTP request.interfaceThe head of an HTTP response.Classes in org.microproxy.http that implement HttpMessageModifier and TypeClassDescriptionclassA complete request with its body.classA complete response with its body.classMutableHttpRequesthead.classMutableHttpResponsehead.Methods in org.microproxy.http that return HttpMessageModifier and TypeMethodDescriptionHttpMessage.setProtocolVersion(HttpVersion version) Changes the message's protocol version.Methods in org.microproxy.http with parameters of type HttpMessageModifier and TypeMethodDescriptionstatic booleanHttpBodies.canDecode(HttpMessage message) Whether every content coding ofmessagecan be decoded.static CharsetHttpBodies.charset(HttpMessage message, Charset fallback) Thecharsetparameter ofContent-Type, orfallbackwhen absent, unknown or malformed.HttpBodies.contentEncodings(HttpMessage message) The content codings applied tomessage, outermost last (identityomitted).static longHttpUtil.getContentLength(HttpMessage message, long defaultValue) TheContent-Lengthvalue, ordefaultValueif absent or invalid.static booleanHttpUtil.isKeepAlive(HttpMessage message) Whether the sender ofmessagewants the connection kept open afterwards, following theConnectionheader and the protocol version's default.static booleanHttpBodies.isText(HttpMessage message) Whether the media type is textual:text/*, JSON, XML, JavaScript or form data.static booleanHttpUtil.isTransferEncodingChunked(HttpMessage message) Whether the final transfer coding ischunked.static StringHttpBodies.mediaType(HttpMessage message) The media type ofContent-Typein lower case, without parameters, or "".static voidHttpUtil.setContentLength(HttpMessage message, long length) Sets the Content-Length field to the supplied decimal value.static voidHttpUtil.setKeepAlive(HttpMessage message, boolean keepAlive) Sets theConnectionheader so thatHttpUtil.isKeepAlive(org.microproxy.http.HttpMessage)returnskeepAlive.static voidHttpUtil.setTransferEncodingChunked(HttpMessage message, boolean chunked) Makeschunkedthe final transfer coding (keeping any other codings) and removesContent-Length, or removeschunkedagain whenchunkedis false.