public abstract class AbstractRouteHandler
extends java.lang.Object
Constructor and Description |
---|
AbstractRouteHandler() |
Modifier and Type | Method and Description |
---|---|
MXSession |
authenticateRequest(OslcRequest request) |
java.util.Set<java.lang.String> |
getPathTokenAllowedValuesMeta(java.lang.String token) |
java.util.Map<java.lang.String,java.lang.String> |
getPathTokensMeta() |
java.lang.String |
getProvider() |
java.util.Set<java.lang.String> |
getQueryParamAllowedValuesMeta(java.lang.String qparam) |
java.util.Map<java.lang.String,java.lang.String> |
getQueryParamsMeta() |
abstract OslcResourceResponse |
handleRequest(OslcRequest request) |
boolean |
isPathTokensOptional() |
void |
setAuthHandler(MaximoAuthenticator maxAuthHandler) |
void |
setCorrelator(MXCorrelator correlator) |
void |
setLogger(MXLogger logger) |
void |
setMethod(java.lang.String method) |
void |
setPathTokens(java.util.List<java.lang.String> pathTokens) |
void |
setRequestData(byte[] resourceBytes) |
void |
setResReqPath(java.lang.String resourceReq) |
void |
setRouteInfo(RouteInfo routeInfo) |
public void setRouteInfo(RouteInfo routeInfo)
public void setMethod(java.lang.String method)
public MXSession authenticateRequest(OslcRequest request) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setAuthHandler(MaximoAuthenticator maxAuthHandler)
public void setResReqPath(java.lang.String resourceReq)
public void setPathTokens(java.util.List<java.lang.String> pathTokens)
public java.lang.String getProvider()
public void setLogger(MXLogger logger)
public void setCorrelator(MXCorrelator correlator)
public abstract OslcResourceResponse handleRequest(OslcRequest request) throws MXException, java.io.IOException
MXException
java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> getPathTokensMeta()
public java.util.Set<java.lang.String> getPathTokenAllowedValuesMeta(java.lang.String token) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Map<java.lang.String,java.lang.String> getQueryParamsMeta()
public java.util.Set<java.lang.String> getQueryParamAllowedValuesMeta(java.lang.String qparam) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setRequestData(byte[] resourceBytes)
public boolean isPathTokensOptional()