public class NettyRestRequest extends Object implements RestRequest
RestRequest backed by Netty.| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENDED_HEADER |
| Modifier and Type | Method and Description |
|---|---|
ContentSource |
contents() |
MediaType |
contentType() |
String |
getAcceptHeader() |
String |
getAction() |
String |
getAuthorizationHeader() |
String |
getCacheControlHeader() |
String |
getContentTypeHeader() |
String |
getEtagIfMatchHeader() |
String |
getEtagIfModifiedSinceHeader() |
String |
getEtagIfNoneMatchHeader() |
String |
getEtagIfUnmodifiedSinceHeader() |
Long |
getMaxIdleTimeSecondsHeader() |
boolean |
getPerformAsyncHeader() |
Principal |
getPrincipal() |
Long |
getTimeToLiveSecondsHeader() |
MediaType |
keyContentType() |
Method |
method() |
Map<String,List<String>> |
parameters() |
String |
path() |
void |
setAction(String action) |
void |
setPrincipal(Principal principal) |
void |
setVariables(Map<String,String> variables) |
Map<String,String> |
variables() |
public static final String EXTENDED_HEADER
public Method method()
method in interface RestRequestpublic String path()
path in interface RestRequestpublic ContentSource contents()
contents in interface RestRequestpublic Map<String,List<String>> parameters()
parameters in interface RestRequestpublic Map<String,String> variables()
variables in interface RestRequestpublic String getAction()
getAction in interface RestRequestpublic MediaType contentType()
contentType in interface RestRequestpublic MediaType keyContentType()
keyContentType in interface RestRequestpublic String getAcceptHeader()
getAcceptHeader in interface RestRequestpublic String getAuthorizationHeader()
getAuthorizationHeader in interface RestRequestpublic String getCacheControlHeader()
getCacheControlHeader in interface RestRequestpublic String getContentTypeHeader()
getContentTypeHeader in interface RestRequestpublic String getEtagIfMatchHeader()
getEtagIfMatchHeader in interface RestRequestpublic String getEtagIfModifiedSinceHeader()
getEtagIfModifiedSinceHeader in interface RestRequestpublic String getEtagIfNoneMatchHeader()
getEtagIfNoneMatchHeader in interface RestRequestpublic String getEtagIfUnmodifiedSinceHeader()
getEtagIfUnmodifiedSinceHeader in interface RestRequestpublic Long getMaxIdleTimeSecondsHeader()
getMaxIdleTimeSecondsHeader in interface RestRequestpublic boolean getPerformAsyncHeader()
getPerformAsyncHeader in interface RestRequestpublic Long getTimeToLiveSecondsHeader()
getTimeToLiveSecondsHeader in interface RestRequestpublic Principal getPrincipal()
getPrincipal in interface RestRequestpublic void setPrincipal(Principal principal)
setPrincipal in interface RestRequestpublic void setVariables(Map<String,String> variables)
setVariables in interface RestRequestpublic void setAction(String action)
setAction in interface RestRequestCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.