public abstract class InfinispanRequest extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<String>> |
parameters |
protected io.netty.handler.codec.http.FullHttpRequest |
request |
Modifier | Constructor and Description |
---|---|
protected |
InfinispanRequest(io.netty.handler.codec.http.FullHttpRequest request,
io.netty.channel.ChannelHandlerContext ctx,
String cacheName,
String context,
Map<String,List<String>> parameters) |
Modifier and Type | Method and Description |
---|---|
Optional<byte[]> |
data() |
protected abstract InfinispanResponse |
execute() |
Optional<String> |
getAcceptContentType() |
Optional<String> |
getAuthorization() |
Optional<String> |
getCacheName() |
Optional<String> |
getContentType() |
String |
getContext() |
MediaType |
getKeyContentType() |
protected String |
getParameterValue(String name) |
Principal |
getPrincipal() |
io.netty.channel.ChannelHandlerContext |
getRawContext() |
io.netty.handler.codec.http.FullHttpRequest |
getRawRequest() |
Optional<Boolean> |
getUseAsync() |
void |
setPrincipal(Principal principal) |
protected abstract InfinispanResponse execute()
public io.netty.handler.codec.http.FullHttpRequest getRawRequest()
public io.netty.channel.ChannelHandlerContext getRawContext()
public Optional<Boolean> getUseAsync()
true
if client wishes to perform request asynchronously.public MediaType getKeyContentType()
public String getContext()
public Optional<byte[]> data()
public void setPrincipal(Principal principal)
public Principal getPrincipal()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.