public class HttpInterface extends Object implements SentryInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_INTERFACE
Name of the HTTP interface in Sentry.
|
| Constructor and Description |
|---|
HttpInterface(javax.servlet.http.HttpServletRequest request)
Creates a an HTTP element for an
Event. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAuthType() |
Map<String,String> |
getCookies() |
Map<String,Collection<String>> |
getHeaders() |
String |
getInterfaceName()
Gets the unique name of the interface.
|
String |
getLocalAddr() |
String |
getLocalName() |
int |
getLocalPort() |
String |
getMethod() |
Map<String,Collection<String>> |
getParameters() |
String |
getProtocol() |
String |
getQueryString() |
String |
getRemoteAddr() |
String |
getRemoteUser() |
String |
getRequestUrl() |
String |
getServerName() |
int |
getServerPort() |
int |
hashCode() |
boolean |
isAsyncStarted() |
boolean |
isSecure() |
String |
toString() |
public static final String HTTP_INTERFACE
public HttpInterface(javax.servlet.http.HttpServletRequest request)
Event.request - Captured HTTP request to send to Sentry.public String getInterfaceName()
SentryInterfacegetInterfaceName in interface SentryInterfacepublic String getRequestUrl()
public String getMethod()
public Map<String,Collection<String>> getParameters()
public String getQueryString()
public String getRemoteAddr()
public String getServerName()
public int getServerPort()
public String getLocalAddr()
public String getLocalName()
public int getLocalPort()
public String getProtocol()
public boolean isSecure()
public boolean isAsyncStarted()
public String getAuthType()
public String getRemoteUser()
public Map<String,Collection<String>> getHeaders()
Copyright © 2012–2014. All rights reserved.