Class InfinispanRequest

    • Field Detail

      • request

        protected final io.netty.handler.codec.http.FullHttpRequest request
    • Constructor Detail

      • InfinispanRequest

        protected InfinispanRequest​(io.netty.handler.codec.http.FullHttpRequest request,
                                    io.netty.channel.ChannelHandlerContext ctx,
                                    String cacheName,
                                    String context,
                                    Map<String,​List<String>> parameters)
    • Method Detail

      • getCacheName

        public Optional<String> getCacheName()
        Returns:
        cache name.
      • getRawRequest

        public io.netty.handler.codec.http.FullHttpRequest getRawRequest()
        Returns:
        Netty request.
      • getRawContext

        public io.netty.channel.ChannelHandlerContext getRawContext()
        Returns:
        Netty context.
      • getUseAsync

        public Optional<Boolean> getUseAsync()
        Returns:
        true if client wishes to perform request asynchronously.
      • getAcceptContentType

        public Optional<String> getAcceptContentType()
        Returns:
        Accepts header value.
      • getKeyContentType

        public MediaType getKeyContentType()
      • getContentType

        public Optional<String> getContentType()
        Returns:
        Content-Type header value.
      • getAuthorization

        public Optional<String> getAuthorization()
        Returns:
        Authorization header value.
      • getContext

        public String getContext()
        Returns:
        Netty context.
      • data

        public Optional<byte[]> data()
        Returns:
        request's payload.
      • getParameterValue

        public String getParameterValue​(String name)
      • setSubject

        public void setSubject​(Subject subject)
      • getSubject

        public Subject getSubject()
      • method

        public String method()
      • getParameterNames

        public Set<String> getParameterNames()