Package org.wildfly.httpclient.ejb
Class RemoteHTTPHandler
- java.lang.Object
-
- org.wildfly.httpclient.ejb.RemoteHTTPHandler
-
- All Implemented Interfaces:
HttpHandler
- Direct Known Subclasses:
HttpDiscoveryHandler
public abstract class RemoteHTTPHandler extends Object implements HttpHandler
Undertow HTTP handler that is responsible for initial parsing of EJB over HTTP messages- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description RemoteHTTPHandler(ExecutorService executorService)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidhandleInternal(HttpServerExchange exchange)voidhandleRequest(HttpServerExchange exchange)Handle the request.protected org.wildfly.httpclient.ejb.RemoteHTTPHandler.ReceivedTransactionreadTransaction(org.jboss.marshalling.Unmarshaller unmarshaller)
-
-
-
Constructor Detail
-
RemoteHTTPHandler
public RemoteHTTPHandler(ExecutorService executorService)
-
-
Method Detail
-
handleRequest
public final void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
handleInternal
protected abstract void handleInternal(HttpServerExchange exchange) throws Exception
- Throws:
Exception
-
readTransaction
protected org.wildfly.httpclient.ejb.RemoteHTTPHandler.ReceivedTransaction readTransaction(org.jboss.marshalling.Unmarshaller unmarshaller) throws IOException- Throws:
IOException
-
-