public class HttpTransport extends UriTransport<HttpTransportRequest,HttpTransportResponse>
Constructor and Description |
---|
HttpTransport() |
HttpTransport(UriMessagingContainerRegistry uriMessagingContainerRegistry) |
createExecutionContext, execute, getCurrent, getCurrentAsString, getInterceptors, getRequest, getResponse, getStartup, getStartupAsSeconds, getStartupAsString, getTransport, isInitialized, isResponseMessage, putRequest, putResponse, putTransport, setInterceptors
public HttpTransport(UriMessagingContainerRegistry uriMessagingContainerRegistry)
public HttpTransport()
public void init() throws Exception
init
in interface Transport<HttpTransportRequest,HttpTransportResponse>
init
in class AbstractTransport<HttpTransportRequest,HttpTransportResponse>
Exception
public void shutdown() throws Exception
shutdown
in interface Transport<HttpTransportRequest,HttpTransportResponse>
shutdown
in class AbstractTransport<HttpTransportRequest,HttpTransportResponse>
Exception
public void execute(HttpTransportRequest request, HttpTransportResponse response) throws IOException
IOException
protected void processGetRequest(HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount uriMessagingContainerMount) throws Xdi2TransportException, IOException
Xdi2TransportException
IOException
protected void processPostRequest(HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount uriMessagingContainerMount) throws Xdi2TransportException, IOException
Xdi2TransportException
IOException
protected void processPutRequest(HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount uriMessagingContainerMount) throws Xdi2TransportException, IOException
Xdi2TransportException
IOException
protected void processDeleteRequest(HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount uriMessagingContainerMount) throws Xdi2TransportException, IOException
Xdi2TransportException
IOException
protected void processOptionsRequest(HttpTransportRequest request, HttpTransportResponse response) throws Xdi2TransportException, IOException
Xdi2TransportException
IOException
public UriMessagingContainerRegistry getUriMessagingContainerRegistry()
getUriMessagingContainerRegistry
in class UriTransport<HttpTransportRequest,HttpTransportResponse>
public void setUriMessagingContainerRegistry(UriMessagingContainerRegistry uriMessagingContainerRegistry)
Copyright © 2017. All rights reserved.