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

org.openfact.models.OpenfactContext Maven / Gradle / Ivy

package org.openfact.models;

import org.openfact.common.ClientConnection;

import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.UriInfo;
import java.net.URI;

public interface OpenfactContext {

    URI getOpenfactServerUrl();

    String getContextPath();

    UriInfo getUri();

    HttpHeaders getRequestHeaders();

     T getContextObject(Class clazz);

    OrganizationModel getOrganization();

    void setOrganization(OrganizationModel organization);

    ClientConnection getConnection();

    void setConnection(ClientConnection connection);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy