Uses of Class
com.gentics.contentnode.rest.client.exceptions.RestException

Packages that use RestException
  • Uses of RestException in com.gentics.contentnode.rest.client

    Modifier and Type
    Method
    Description
    void
    Checks if the version of the REST API on the server is the same that is used by the client; if there is a mismatch between the two versions, a RestException is thrown
    void
    Checks if the version of the REST API on the server is the same that is used by the client; if there is a mismatch between the two versions, a RestException is thrown
    void
    RestApi.assertResponse(GenericResponse response)
    Analyzes the response of a finished request and asserts that it was executed without errors; if a problem occurred during the request, a specialized RestException is thrown
    void
    RestClient.assertResponse(GenericResponse response)
    Analyzes the response of a finished request and asserts that it was executed without errors; if a problem occurred during the request, a specialized RestException is thrown
    jakarta.ws.rs.client.WebTarget
    RestApi.base()
    Provides access to the WebTarget that is used as the base for all commands to the server
    List<org.apache.http.cookie.Cookie>
    RestApi.getCookies()
    Get the cookies currently stored in the client
    List<org.apache.http.cookie.Cookie>
    RestClient.getCookies()
    Get the cookies currently stored in the client
    void
    RestApi.login(String username, String password)
    Logs the specified user into the system using the password given
    void
    RestClient.login(String username, String password)
    Logs the specified user into the system using the password given
    void
    RestApi.logout()
    Logs out the current user
    void
    RestClient.logout()
    Logs out the current user
    void
    RestApi.ssologin()
    Performs login on an SSO system - before this works, necessary filters have to be defined
    void
    RestClient.ssologin()
    Performs login on an SSO system - before this works, necessary filters have to be defined
  • Uses of RestException in com.gentics.contentnode.rest.client.exceptions

    Modifier and Type
    Class
    Description
    class 
    Exception that is thrown when the session identification is missing or invalid
    class 
    Exception that is thrown when an unexpected error has occurred (example: a database error prevented saving)
    class 
    Exception that is thrown when data for the request was invalid or insufficient
    class 
    Exception that is thrown when it is not possible to send requests to a system because it is currently in maintenance mode
    class 
    Exception that is thrown when a requested object was not found in the system
    class 
    Exception that is thrown when the user did not have sufficient permissions to carry out the action