Interface InvocationBuilderListener.InvocationBuilderContext

    • Method Detail

      • getAccepted

        List<String> getAccepted()
        Get the accepted response media types.
        Returns:
        accepted response media types.
      • getAcceptedLanguages

        List<String> getAcceptedLanguages()
        Get acceptable languages.
        Returns:
        acceptable languages.
      • getCacheControls

        List<CacheControl> getCacheControls()
        Get the cache control data of the message.
        Returns:
        the cache control data of the message.
      • getConfiguration

        Configuration getConfiguration()
        Get runtime configuration.
        Returns:
        runtime configuration.
      • getCookies

        Map<String,​Cookie> getCookies()
        Get any cookies that accompanied the request.
        Returns:
        a read-only map of cookie name (String) to Cookie.
      • getEncodings

        List<String> getEncodings()
        Get acceptable encodings.
        Returns:
        acceptable encodings.
      • getHeader

        List<String> getHeader​(String name)
        Get the values of a HTTP request header. The returned List is read-only.
        Parameters:
        name - the header name, case insensitive.
        Returns:
        a read-only list of header values.
      • getHeaders

        MultivaluedMap<String,​Object> getHeaders()
        Get the mutable message headers multivalued map.
        Returns:
        mutable multivalued map of message headers.
      • getProperty

        Object getProperty​(String name)
        Returns the property with the given name registered in the current request/response exchange context, or null if there is no property by that name.

        A property allows filters and interceptors to exchange additional custom information not already provided by this interface.

        A list of supported properties can be retrieved using getPropertyNames(). Custom property names should follow the same convention as package names.

        Parameters:
        name - a String specifying the name of the property.
        Returns:
        an Object containing the value of the property, or null if no property exists matching the given name.
        See Also:
        getPropertyNames()
      • getUri

        URI getUri()
        Get the request URI.
        Returns:
        request URI.
      • removeProperty

        void removeProperty​(String name)
        Removes a property with the given name from the current request/response exchange context. After removal, subsequent calls to getProperty(java.lang.String) to retrieve the property value will return null.
        Parameters:
        name - a String specifying the name of the property to be removed.