Interface SSLSessionManager

All Superinterfaces:
Object

public interface SSLSessionManager extends Object
Represents an application-provided factory for session objects. You can configure a Glacier2 router with your own SSLSessionManager implementation; this router will then return the sessions created by this session manager to its clients.
  • Method Details

    • create

      SessionPrx create(SSLInfo info, SessionControlPrx control, Current current) throws CannotCreateSessionException
      Creates a new session object.
      Parameters:
      info - The SSL info.
      control - A proxy to the session control object. This proxy is null when Glacier2.Server.Endpoints is not configured.
      current - The Current object of the incoming request.
      Returns:
      A proxy to the newly created session. This proxy is never null.
      Throws:
      CannotCreateSessionException - Thrown when the session cannot be created.
    • ice_staticId

      static String ice_staticId()
      Gets the type ID of the associated Slice interface.
      Returns:
      the string "::Glacier2::SSLSessionManager"
    • dispatch

      default CompletionStage<OutgoingResponse> dispatch(IncomingRequest request) throws UserException
      Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.
      Specified by:
      dispatch in interface Object
      Parameters:
      request - the incoming request
      Returns:
      the outgoing response
      Throws:
      UserException - if a UserException is thrown, Ice will marshal it as the response payload.