public class ServletServiceContext extends ServiceContext
Constructor and Description |
---|
ServletServiceContext(javax.servlet.http.HttpServletRequest request) |
ServletServiceContext(javax.servlet.http.HttpServletRequest request,
Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader> requestRpcHeaders) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthPass() |
String |
getAuthUser() |
String |
getAuthUserGridId() |
jp.go.nict.langrid.commons.util.Pair<String,String> |
getBasicAuthUserAndPassword() |
String |
getInitParameter(String param) |
String |
getPersistentProperty(String name) |
String |
getRealPath(String path) |
String |
getRemoteAddress() |
MimeHeaders |
getRequestMimeHeaders() |
Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader> |
getRequestRpcHeaders() |
URL |
getRequestUrl() |
void |
setAuthorized(String gridId,
String userId,
String password) |
void |
setPersistentProperty(String name,
String value) |
getInitParameter, getRequestContextURL, getRequestRootURL, getSelfGridId, getSelfNodeId
public ServletServiceContext(javax.servlet.http.HttpServletRequest request, Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader> requestRpcHeaders)
public ServletServiceContext(javax.servlet.http.HttpServletRequest request)
public URL getRequestUrl()
getRequestUrl
in class ServiceContext
public MimeHeaders getRequestMimeHeaders()
getRequestMimeHeaders
in class ServiceContext
public Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader> getRequestRpcHeaders()
getRequestRpcHeaders
in class ServiceContext
public String getAuthUserGridId()
getAuthUserGridId
in class ServiceContext
public String getAuthUser()
getAuthUser
in class ServiceContext
public String getAuthPass()
getAuthPass
in class ServiceContext
public String getRemoteAddress()
getRemoteAddress
in class ServiceContext
public String getInitParameter(String param)
getInitParameter
in class ServiceContext
public String getPersistentProperty(String name)
getPersistentProperty
in class ServiceContext
public void setPersistentProperty(String name, String value)
setPersistentProperty
in class ServiceContext
public String getRealPath(String path)
getRealPath
in class ServiceContext
public jp.go.nict.langrid.commons.util.Pair<String,String> getBasicAuthUserAndPassword()