public class RpcRequestAttributes extends Object implements RequestAttributes
Constructor and Description |
---|
RpcRequestAttributes() |
Modifier and Type | Method and Description |
---|---|
void |
addRequestMimeHeader(String name,
String value) |
void |
addRequestMimeHeaders(Map<String,Object> headers) |
void |
addRequestRpcHeader(String namespace,
String name,
String value) |
void |
addRequestRpcHeaders(Map<QName,Object> headers) |
Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> |
getAllRpcHeaders() |
String |
getPassword() |
Map<String,Object> |
getRequestMimeHeaders() |
Collection<BindingNode> |
getTreeBindings() |
String |
getUserId() |
void |
setPassword(String password) |
void |
setTimeout(int timeoutMillis) |
void |
setUpConnection(HttpURLConnection con) |
void |
setUserId(String userId) |
public String getUserId()
public void setUserId(String userId)
setUserId
in interface RequestAttributes
public String getPassword()
public void setPassword(String password)
setPassword
in interface RequestAttributes
public void setTimeout(int timeoutMillis)
setTimeout
in interface RequestAttributes
public void addRequestMimeHeader(String name, String value)
addRequestMimeHeader
in interface RequestAttributes
public void addRequestMimeHeaders(Map<String,Object> headers)
addRequestMimeHeaders
in interface RequestAttributes
public void addRequestRpcHeader(String namespace, String name, String value)
addRequestRpcHeader
in interface RequestAttributes
public void addRequestRpcHeaders(Map<QName,Object> headers)
addRequestRpcHeaders
in interface RequestAttributes
public Collection<BindingNode> getTreeBindings()
getTreeBindings
in interface RequestAttributes
public void setUpConnection(HttpURLConnection con)
public Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> getAllRpcHeaders()