public class StatusHttpTransportInterceptor extends AbstractHttpTransportInterceptor implements HttpTransportInterceptor
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PATH |
static int |
DEFAULT_STATUS |
DEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY
Constructor and Description |
---|
StatusHttpTransportInterceptor() |
Modifier and Type | Method and Description |
---|---|
String |
getPath() |
int |
getStatus() |
boolean |
processGetRequest(HttpTransport httpTransport,
HttpTransportRequest request,
HttpTransportResponse response,
UriMessagingContainerMount messagingContainerMount)
Run when the HTTP transport receives a GET request.
|
void |
setPath(String path) |
void |
setStatus(int status) |
processDeleteRequest, processPostRequest, processPutRequest
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processDeleteRequest, processPostRequest, processPutRequest
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
public static final String DEFAULT_PATH
public static final int DEFAULT_STATUS
public boolean processGetRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptor
processGetRequest
in interface HttpTransportInterceptor
processGetRequest
in class AbstractHttpTransportInterceptor
Xdi2TransportException
IOException
public String getPath()
public void setPath(String path)
public int getStatus()
public void setStatus(int status)
Copyright © 2017. All rights reserved.