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

org.analogweb.RequestContext Maven / Gradle / Ivy

The newest version!
package org.analogweb;

import java.io.IOException;
import java.util.List;
import java.util.Locale;

/**
 * Context per request.
 *
 * @author snowgoose
 */
public interface RequestContext {

    Cookies getCookies();

    Headers getRequestHeaders();

    Parameters getFormParameters();

    Parameters getQueryParameters();

    Parameters getMatrixParameters();

    ReadableBuffer getRequestBody() throws IOException;

    MediaType getContentType();

    RequestPath getRequestPath();

    Locale getLocale();

    List getLocales();

    long getContentLength();

    String getCharacterEncoding();

    String getRequestMethod();

     T getAttribute(String name);

     void setAttribute(String name, T value);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy