Class JettyHttpServerContext

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.jdisc.http.server.jetty.JettyHttpServerContext
All Implemented Interfaces:
com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>

public class JettyHttpServerContext extends com.yahoo.component.AbstractComponent
Author:
jonmv Context that a JettyHttpServer uses to pass requests to JDisc. This registers itself with the server upon construction, and unregisters on deconstruction, and the server always uses the most recent context.
  • Field Summary

    Fields inherited from class com.yahoo.component.AbstractComponent

    isDeconstructable
  • Constructor Summary

    Constructors
    Constructor
    Description
    JettyHttpServerContext(com.yahoo.jdisc.service.CurrentContainer container, com.yahoo.jdisc.Metric metric, FilterBindings filterBindings, Janitor janitor, JettyHttpServer server)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class com.yahoo.component.AbstractComponent

    clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JettyHttpServerContext

      @Inject public JettyHttpServerContext(com.yahoo.jdisc.service.CurrentContainer container, com.yahoo.jdisc.Metric metric, FilterBindings filterBindings, Janitor janitor, JettyHttpServer server)
  • Method Details

    • deconstruct

      public void deconstruct()
      Specified by:
      deconstruct in interface com.yahoo.component.Deconstructable
      Overrides:
      deconstruct in class com.yahoo.component.AbstractComponent