public class LocalServiceContext extends ServiceContext
Constructor and Description |
---|
LocalServiceContext() |
LocalServiceContext(String authUserId) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthPass() |
String |
getAuthUser() |
String |
getAuthUserGridId() |
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 |
setAuthUser(String userId,
String password) |
void |
setAuthUser(String gridId,
String userId,
String password) |
void |
setPersistentProperty(String name,
String value) |
void |
setRealPathBase(String base) |
void |
setRemoteAddress(String value) |
void |
setRequestMimeHeaders(MimeHeaders value) |
void |
setRequestRootUrl(String url) |
void |
setRequestRpcHeaders(Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader> value) |
getInitParameter, getRequestContextURL, getRequestRootURL, getSelfGridId, getSelfNodeId
public LocalServiceContext()
public LocalServiceContext(String authUserId)
public URL getRequestUrl()
getRequestUrl
in class ServiceContext
public MimeHeaders getRequestMimeHeaders()
getRequestMimeHeaders
in class ServiceContext
public void setRequestMimeHeaders(MimeHeaders value)
public Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader> getRequestRpcHeaders()
getRequestRpcHeaders
in class ServiceContext
public void setRequestRpcHeaders(Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader> value)
public void setRequestRootUrl(String url)
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 void setRemoteAddress(String value)
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 void setRealPathBase(String base)