Uses of Class
net.officefloor.server.http.HttpHeaderValue
-
-
Uses of HttpHeaderValue in net.officefloor.server.http
Methods in net.officefloor.server.http that return HttpHeaderValue Modifier and Type Method Description HttpHeaderValueDateHttpHeaderClock. getDateHttpHeaderValue()Obtains theDateHttpHeaderValue.static HttpHeaderValueHttpServer. getServerHttpHeaderValue(HttpServerImplementationContext context, java.lang.String suffix)Convenience method to obtain theServerHttpHeaderValue.Methods in net.officefloor.server.http with parameters of type HttpHeaderValue Modifier and Type Method Description HttpHeaderHttpResponseHeaders. addHeader(java.lang.String name, HttpHeaderValue value)Adds aHttpHeader.HttpHeaderHttpResponseHeaders. addHeader(HttpHeaderName name, HttpHeaderValue value)Adds aHttpHeader.voidHttpResponse. setContentType(HttpHeaderValue contentTypeAndCharsetValue, java.nio.charset.Charset charset)Provides means to useHttpHeaderValueto specify both theContent-Typeandcharsetfor more efficiency.voidHttpResponseWriter. writeHttpResponse(HttpVersion version, HttpStatus status, WritableHttpHeader headHttpHeader, WritableHttpCookie headHttpCookie, long contentLength, HttpHeaderValue contentType, StreamBuffer<B> contentHeadStreamBuffer)Writes theHttpResponse.Constructors in net.officefloor.server.http with parameters of type HttpHeaderValue Constructor Description AbstractHttpServicerFactory(HttpServerLocation serverLocation, boolean isSecure, HttpRequestParser.HttpRequestParserMetaData metaData, StreamBufferPool<java.nio.ByteBuffer> serviceBufferPool, HttpHeaderValue serverName, DateHttpHeaderClock dateHttpHeaderClock, boolean isIncludeEscalationStackTrace)Instantiate.HttpServerSocketManagedObjectSource(HttpServerLocation serverLocation, HttpHeaderValue serverName, DateHttpHeaderClock dateHttpHeaderClock, boolean isIncludeEscalationStackTrace)Instantiate for non-secure servicing.HttpServerSocketManagedObjectSource(HttpServerLocation serverLocation, HttpHeaderValue serverName, DateHttpHeaderClock dateHttpHeaderClock, boolean isIncludeEscalationStackTrace, javax.net.ssl.SSLContext sslContext)Instantiate for secure servicing.WritableHttpHeader(java.lang.String name, HttpHeaderValue value)Instantiate.WritableHttpHeader(HttpHeaderName name, HttpHeaderValue value)Instantiate. -
Uses of HttpHeaderValue in net.officefloor.server.http.impl
Methods in net.officefloor.server.http.impl with parameters of type HttpHeaderValue Modifier and Type Method Description HttpHeaderProcessAwareHttpResponseHeaders. addHeader(java.lang.String name, HttpHeaderValue value)HttpHeaderProcessAwareHttpResponseHeaders. addHeader(HttpHeaderName name, HttpHeaderValue value)voidProcessAwareHttpResponse. setContentType(HttpHeaderValue contentTypeAndCharsetValue, java.nio.charset.Charset charset)Constructors in net.officefloor.server.http.impl with parameters of type HttpHeaderValue Constructor Description ProcessAwareServerHttpConnectionManagedObject(HttpServerLocation serverLocation, boolean isSecure, java.util.function.Supplier<HttpMethod> methodSupplier, java.util.function.Supplier<java.lang.String> requestUriSupplier, HttpVersion version, NonMaterialisedHttpHeaders requestHeaders, ByteSequence requestEntity, HttpHeaderValue serverName, DateHttpHeaderClock dateHttpHeaderClock, boolean isIncludeStackTraceOnEscalation, HttpResponseWriter<B> writer, StreamBufferPool<B> bufferPool)Instantiate. -
Uses of HttpHeaderValue in net.officefloor.server.http.servlet
Methods in net.officefloor.server.http.servlet with parameters of type HttpHeaderValue Modifier and Type Method Description voidHttpServletHttpResponseWriter. writeHttpResponse(HttpVersion version, HttpStatus status, WritableHttpHeader headHttpHeader, WritableHttpCookie headHttpCookie, long contentLength, HttpHeaderValue contentType, StreamBuffer<java.nio.ByteBuffer> contentHeadStreamBuffer) -
Uses of HttpHeaderValue in net.officefloor.tutorial.corshttpserver
Fields in net.officefloor.tutorial.corshttpserver declared as HttpHeaderValue Modifier and Type Field Description static HttpHeaderValueCors. ALL -
Uses of HttpHeaderValue in net.officefloor.web.resource
Methods in net.officefloor.web.resource that return HttpHeaderValue Modifier and Type Method Description HttpHeaderValueHttpFile. getContentEncoding()Obtains theContent-Encodingfor thisHttpFile.HttpHeaderValueHttpFile. getContentType()Obtains theContent-Typefor thisHttpFile. -
Uses of HttpHeaderValue in net.officefloor.web.resource.impl
Methods in net.officefloor.web.resource.impl that return HttpHeaderValue Modifier and Type Method Description HttpHeaderValueHttpFileImpl. getContentEncoding()HttpHeaderValueHttpFileImpl. getContentType()Constructors in net.officefloor.web.resource.impl with parameters of type HttpHeaderValue Constructor Description HttpFileImpl(java.lang.String path, java.nio.file.Path cleanupResourcePath, java.nio.channels.FileChannel file, HttpHeaderValue contentEncoding, HttpHeaderValue contentType, java.nio.charset.Charset charset)Initiate an existingHttpFile. -
Uses of HttpHeaderValue in net.officefloor.web.resource.spi
Methods in net.officefloor.web.resource.spi with parameters of type HttpHeaderValue Modifier and Type Method Description voidResourceTransformerContext. setContentEncoding(HttpHeaderValue contentEncoding)Specifies theContent-Encodingfor the transformed resource.voidResourceTransformerContext. setContentType(HttpHeaderValue contentType, java.nio.charset.Charset charset)Allows specifying a newContent-Typefor the transformed resource.
-