Class CloseStatus

java.lang.Object
org.eclipse.jetty.websocket.api.CloseStatus

public class CloseStatus extends Object
  • Field Details

  • Constructor Details

    • CloseStatus

      public CloseStatus(int closeCode, String reasonPhrase)
      Creates a reason for closing a web socket connection with the given code and reason phrase.
      Parameters:
      closeCode - the close code
      reasonPhrase - the reason phrase
      See Also:
  • Method Details

    • getCode

      public int getCode()
    • getPhrase

      public String getPhrase()