Class Http2ServerHandler
java.lang.Object
com.predic8.membrane.core.transport.http.AbstractHttpHandler
com.predic8.membrane.core.transport.http2.Http2ServerHandler
-
Field Summary
FieldsFields inherited from class com.predic8.membrane.core.transport.http.AbstractHttpHandler
exchange, srcReq -
Constructor Summary
ConstructorsConstructorDescriptionHttp2ServerHandler(HttpServerHandler httpServerHandler, Socket sourceSocket, InputStream srcIn, OutputStream srcOut, boolean showSSLExceptions) -
Method Summary
Methods inherited from class com.predic8.membrane.core.transport.http.AbstractHttpHandler
generateErrorResponse, getContextPath, getTransport, invokeHandlers, isMatchLocalPort
-
Field Details
-
PREFACE
public static final byte[] PREFACE -
HTTP2
- See Also:
-
-
Constructor Details
-
Http2ServerHandler
public Http2ServerHandler(HttpServerHandler httpServerHandler, Socket sourceSocket, InputStream srcIn, OutputStream srcOut, boolean showSSLExceptions)
-
-
Method Details
-
handle
- Throws:
IOExceptionEndOfStreamException
-
shutdownInput
Description copied from class:AbstractHttpHandlerOnly use for HTTP/1.0 requests. (seeHttpClient)- Specified by:
shutdownInputin classAbstractHttpHandler- Throws:
IOException
-
getLocalAddress
- Specified by:
getLocalAddressin classAbstractHttpHandler
-
getLocalPort
public int getLocalPort()- Specified by:
getLocalPortin classAbstractHttpHandler
-