Package org.infinispan.rest
Class NettyRestRequest
- java.lang.Object
-
- org.infinispan.rest.NettyRestRequest
-
- All Implemented Interfaces:
org.infinispan.rest.framework.RestRequest
public class NettyRestRequest extends Object implements org.infinispan.rest.framework.RestRequest
ARestRequest
backed by Netty.- Since:
- 10.0
-
-
Method Summary
-
-
-
Method Detail
-
getContext
public String getContext()
-
method
public org.infinispan.rest.framework.Method method()
-
path
public String path()
-
uri
public String uri()
-
getRemoteAddress
public InetSocketAddress getRemoteAddress()
-
contents
public org.infinispan.rest.framework.ContentSource contents()
-
getAction
public String getAction()
-
contentType
public org.infinispan.commons.dataconversion.MediaType contentType()
-
keyContentType
public org.infinispan.commons.dataconversion.MediaType keyContentType()
-
getAcceptHeader
public String getAcceptHeader()
-
getAuthorizationHeader
public String getAuthorizationHeader()
-
getCacheControlHeader
public String getCacheControlHeader()
-
getContentTypeHeader
public String getContentTypeHeader()
-
getEtagIfMatchHeader
public String getEtagIfMatchHeader()
-
getIfModifiedSinceHeader
public String getIfModifiedSinceHeader()
-
getEtagIfNoneMatchHeader
public String getEtagIfNoneMatchHeader()
-
getIfUnmodifiedSinceHeader
public String getIfUnmodifiedSinceHeader()
-
getMaxIdleTimeSecondsHeader
public Long getMaxIdleTimeSecondsHeader()
-
getTimeToLiveSecondsHeader
public Long getTimeToLiveSecondsHeader()
-
getAdminFlags
public EnumSet<CacheContainerAdmin.AdminFlag> getAdminFlags()
-
getFlags
public Flag[] getFlags()
-
getCreatedHeader
public Long getCreatedHeader()
-
getLastUsedHeader
public Long getLastUsedHeader()
-
getSubject
public Subject getSubject()
-
setSubject
public void setSubject(Subject subject)
-
setAction
public void setAction(String action)
-
getFullHttpRequest
public io.netty.handler.codec.http.FullHttpRequest getFullHttpRequest()
-
toString
public String toString()
-
-