
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, processPutRequestclearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessDeleteRequest, processPostRequest, processPutRequestclearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skippublic 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
HttpTransportInterceptorprocessGetRequest in interface HttpTransportInterceptorprocessGetRequest in class AbstractHttpTransportInterceptorXdi2TransportExceptionIOExceptionpublic String getPath()
public void setPath(String path)
public int getStatus()
public void setStatus(int status)
Copyright © 2017. All rights reserved.