Interface ServerContext

All Known Implementing Classes:
ServerChannelUploadContext, ServerResponseContext

public interface ServerContext
A ServerContext represents the server side of a client/server call.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Request that this context is aborted.
    void
    Acknowledgement from client that a response has been processed at the client
    boolean
     
  • Method Details

    • isClosed

      boolean isClosed()
      Returns:
      true if this context has been closed
    • abort

      void abort()
      Request that this context is aborted. No more responses should be allowed Ongoing execution should be interrupted.
    • acknowledgeResponse

      void acknowledgeResponse()
      Acknowledgement from client that a response has been processed at the client