public class WebServiceRequest extends JRadiusEvent
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static int |
GET |
static int |
POST |
static int |
PUT |
static long |
serialVersionUID |
applicationContext| Constructor and Description |
|---|
WebServiceRequest() |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
getCertificate() |
byte[] |
getContent() |
String |
getContentAsString() |
Map<String,String> |
getHeaderMap() |
String |
getHttpVersion() |
int |
getMethod() |
Map<String,String> |
getParameterMap() |
WebServiceResponse |
getResponse() |
Map<String,String> |
getServerVariableMap() |
Object |
getSessionObject() |
int |
getType() |
String |
getTypeString() |
URI |
getUri() |
Object |
getUserObject() |
void |
setCertificate(X509Certificate x509) |
void |
setContent(byte[] content) |
void |
setHeaderMap(Map<String,String> headerMap) |
void |
setHttpVersion(String httpVersion) |
void |
setMethod(int method) |
void |
setResponse(WebServiceResponse reply) |
void |
setServerVariableMap(Map<String,String> serverVariableMap) |
void |
setSessionObject(Object sessionObject) |
void |
setType(int type)
Set the type of the request
|
void |
setUri(URI uri) |
void |
setUserObject(Object userObject) |
String |
toString() |
getApplicationContext, getListener, getSender, setApplicationContext, setListener, setSenderclear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll, sizeequals, hashCodefinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll, sizepublic static final long serialVersionUID
public static final int GET
public static final int POST
public static final int PUT
public int getType()
getType in class JRadiusEventpublic void setType(int type)
type - public String getTypeString()
getTypeString in class JRadiusEventpublic String getContentAsString() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic byte[] getContent()
public void setContent(byte[] content)
content - The content to set.public void setHeaderMap(Map<String,String> headerMap)
headerMap - The headerMap to set.public int getMethod()
public void setMethod(int method)
method - The method to set.public URI getUri()
public void setUri(URI uri)
uri - The uri to set.public String getHttpVersion()
public void setHttpVersion(String httpVersion)
httpVersion - The httpVersion to set.public WebServiceResponse getResponse()
public void setResponse(WebServiceResponse reply)
response - The response to set.public Object getSessionObject()
public void setSessionObject(Object sessionObject)
public String toString()
toString in class AbstractMappublic void setCertificate(X509Certificate x509)
public X509Certificate getCertificate()
public Object getUserObject()
public void setUserObject(Object userObject)
Copyright © 2017. All rights reserved.