Interface HttpRedirect

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag

public interface HttpRedirect extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag

A Protocol which redirects an HTTP(S) request to a different location using HTTP 302 redirection semantics.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy

    org.jvnet.hk2.config.ConfigBeanProxy.Duck

    Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag

    org.jvnet.hk2.config.types.PropertyBag.Duck
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final boolean
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    void
     
    void
     

    Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy

    createChild, deepCopy, getParent, getParent

    Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag

    addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
  • Field Details

  • Method Details

    • getPort

      @Range(min=-1, max=65535) String getPort()
      Returns:
      the network port the request should be redirected to. If no value was specified, the default of -1 will be returned which signifies a redirection to the same port the current request was made on
    • setPort

      void setPort(String port)
    • getSecure

      String getSecure()
      Returns:
      true will redirect the request using HTTPS where as a value of false will use HTTP
    • setSecure

      void setSecure(String value)