Class NoOpWebResponse

  • All Implemented Interfaces:
    WebResponse

    public class NoOpWebResponse
    extends java.lang.Object
    implements WebResponse
    • Constructor Summary

      Constructors 
      Constructor Description
      NoOpWebResponse()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void freezeStatus()
      Freeze the web response status code.
      int getStatus()
      Get the web response status code.
      java.lang.String getStatusMessage()
      Get the web response status message.
      void setStatus​(int statusCode)
      Set the web response status code.
      void setStatusMessage​(java.lang.String message)
      Set the web response status message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • NoOpWebResponse

        public NoOpWebResponse()
    • Method Detail

      • setStatus

        public void setStatus​(int statusCode)
        Description copied from interface: WebResponse
        Set the web response status code.
        Specified by:
        setStatus in interface WebResponse
      • getStatus

        public int getStatus()
        Description copied from interface: WebResponse
        Get the web response status code.
        Specified by:
        getStatus in interface WebResponse
      • setStatusMessage

        public void setStatusMessage​(java.lang.String message)
        Description copied from interface: WebResponse
        Set the web response status message.
        Specified by:
        setStatusMessage in interface WebResponse
      • getStatusMessage

        public java.lang.String getStatusMessage()
        Description copied from interface: WebResponse
        Get the web response status message.
        Specified by:
        getStatusMessage in interface WebResponse
      • freezeStatus

        public void freezeStatus()
        Description copied from interface: WebResponse
        Freeze the web response status code.
        Specified by:
        freezeStatus in interface WebResponse