All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.reactive.server.injection.ResteasyReactiveInjectionContext Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package org.jboss.resteasy.reactive.server.injection;

public interface ResteasyReactiveInjectionContext {
    Object getHeader(String name, boolean single);

    Object getQueryParameter(String name, boolean single, boolean encoded, String separator);

    String getPathParameter(String name, boolean encoded);

    Object getMatrixParameter(String name, boolean single, boolean encoded);

    String getCookieParameter(String name);

    Object getFormParameter(String name, boolean single, boolean encoded);

     T unwrap(Class theType);

    /**
     * Gets the context parameter instance by type for predefined types, also calls unwrap, and CDI.
     *
     * @throws IllegalStateException if there is no such context object
     */
     T getContextParameter(Class type);

    /**
     * Gets the bean parameter instance by type via CDI, and registers a cleanup for it. This does not call __inject
     * on it, and it does not work for records (which cannot be gotten via CDI).
     *
     * @throws IllegalStateException if there is no such context object
     */
     T getBeanParameter(Class type);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy