Class Engine

java.lang.Object
org.jdrupes.httpcodec.Engine
Direct Known Subclasses:
ClientEngine, ServerEngine

public abstract class Engine extends Object
Represents an engine with an associated encoder and decoder.
  • Constructor Details

  • Method Details

    • switchedTo

      Returns the protocol that this engine has been switched to, if any.
      Returns:
      the protocol
    • setSwitchedTo

      protected void setSwitchedTo(String protocol)
      Noted that the engine has been switched to a new protocol.
      Parameters:
      protocol - the new protocol