public class OHttpRequestWrapper extends Object
Constructor and Description |
---|
OHttpRequestWrapper(OHttpRequest iRequest) |
OHttpRequestWrapper(OHttpRequest iRequest,
String[] iArgs) |
Modifier and Type | Method and Description |
---|---|
String |
getArgument(int iPosition)
Returns the argument by position
|
String[] |
getArguments()
Returns the call's argument passed in REST form.
|
String |
getContent()
Returns the request's content.
|
String |
getContentType()
Returns the request's content type.
|
Map<String,String> |
getHeaders()
Return the request's HTTP headers
|
String |
getHttpMethod()
Return the request's HTTP method called.
|
String |
getHttpVersion()
Return the request's HTTP version.
|
String |
getIfMatch()
Return the request's IF-MATCH header.
|
String |
getParameter(String iName)
Returns the request's parameter.
|
Map<String,String> |
getParameters()
Returns the request's parameters.
|
String |
getRemoteAddress() |
String |
getSessionId()
Returns the session-id.
|
String |
getURL()
Returns the request's URL.
|
String |
getUser()
Gets the request's user name.
|
int |
hasParameters(String... iNames)
Checks how many parameters have been received.
|
boolean |
isMultipart()
Returns if the requests has multipart.
|
public OHttpRequestWrapper(OHttpRequest iRequest)
public OHttpRequestWrapper(OHttpRequest iRequest, String[] iArgs)
public String getContent()
public String getUser()
public String getContentType()
public String getHttpVersion()
public String getHttpMethod()
public Map<String,String> getHeaders()
public String getIfMatch()
public boolean isMultipart()
public String[] getArguments()
public String getArgument(int iPosition)
public Map<String,String> getParameters()
public String getParameter(String iName)
public int hasParameters(String... iNames)
public String getSessionId()
public String getURL()
public String getRemoteAddress()
Copyright © 2009–2020 OrientDB. All rights reserved.