public interface ClientRequest
Modifier and Type | Method and Description |
---|---|
InputStream |
getBody()
Gets the body of the client request.
|
long |
getContentLengthAsLong()
Gets the client request Content-Length.
|
Map<String,List<String>> |
getHeaders()
Gets the request headers of the the client request.
|
String |
getMethod()
Gets the client request HTTP method.
|
String |
getNormalizedRequestURI()
Gets the decoded request URI of the client request.
|
String |
getProtocol()
Gets the client request HTTP protocol version.
|
String |
getQueryString()
Gets the client request query string.
|
String |
getRawRequestURI()
Gets the original request URI of the client request.
|
String |
getRemoteAddr()
Gets the client IP address.
|
String |
getScheme()
Gets the client HTTP request scheme.
|
void |
paapAppendHeader(String name,
String value)
Sets a vnd-pi-append-req-header PingAccess Agent Protocol specification header.
|
String |
paapGetSubject()
Gets the vnd-pi-sub PingAccess Agent Protocol specification subject.
|
void |
paapRemoveHeader(String name)
Sets a header to be removed per the PingAccess Agent Protocol specification.
|
void |
paapSetHeader(String name,
String value)
Sets a vnd-pi-set-req-header PingAccess Agent Protocol specification header.
|
void |
paapSetSubject(String subject)
Sets the vnd-pi-sub PingAccess Agent Protocol specification subject.
|
void |
paapSetVar(String name,
String value)
Sets a vnd-pi-set-req-var PingAccess Agent Protocol specification variable.
|
String getScheme()
String getProtocol()
String getRemoteAddr()
String getMethod()
String getNormalizedRequestURI()
String getRawRequestURI()
Map<String,List<String>> getHeaders()
String getQueryString()
long getContentLengthAsLong()
InputStream getBody() throws IOException
IOException
void paapSetHeader(String name, String value)
name
- - The name of the vnd-pi-set-req-header.value
- - The value of the vnd-pi-set-req-header.void paapAppendHeader(String name, String value)
name
- - The name of the vnd-pi-append-req-header.value
- - The value of the vnd-pi-append-req-header.void paapRemoveHeader(String name)
name
- - The name of the header to be removed.void paapSetVar(String name, String value)
name
- - The name of the vnd-pi-set-req-var.value
- - The value of the vnd-pi-set-req-var.void paapSetSubject(String subject)
subject
- - The subject value of vnd-pi-sub.String paapGetSubject()
Copyright 2005-2015 Ping Identity Corp. All rights reserved.