Documentation ¶
Index ¶
- Constants
- type AfterRoundTrip
- type LookupRegistry
- type Proxy
- type ProxyArgs
- type ProxyReporter
- type RequestHandler
- func (h *RequestHandler) HandleBadGateway(err error)
- func (h *RequestHandler) HandleHeartbeat()
- func (h *RequestHandler) HandleMissingRoute()
- func (h *RequestHandler) HandleTcpRequest(iter route.EndpointIterator)
- func (h *RequestHandler) HandleUnsupportedProtocol()
- func (h *RequestHandler) HandleWebSocketRequest(iter route.EndpointIterator)
- func (h *RequestHandler) Logger() *steno.Logger
Constants ¶
View Source
const ( VcapCookieId = "__VCAP_ID__" StickyCookieKey = "JSESSIONID" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AfterRoundTrip ¶
type Proxy ¶
type Proxy interface {
ServeHTTP(responseWriter http.ResponseWriter, request *http.Request)
}
type ProxyArgs ¶
type ProxyArgs struct { EndpointTimeout time.Duration Ip string TraceKey string Registry LookupRegistry Reporter ProxyReporter AccessLogger access_log.AccessLogger SecureCookies bool }
type ProxyReporter ¶
type RequestHandler ¶
type RequestHandler struct {
// contains filtered or unexported fields
}
func NewRequestHandler ¶
func NewRequestHandler(request *http.Request, response http.ResponseWriter, r ProxyReporter, alr *access_log.AccessLogRecord) RequestHandler
func (*RequestHandler) HandleBadGateway ¶
func (h *RequestHandler) HandleBadGateway(err error)
func (*RequestHandler) HandleHeartbeat ¶
func (h *RequestHandler) HandleHeartbeat()
func (*RequestHandler) HandleMissingRoute ¶
func (h *RequestHandler) HandleMissingRoute()
func (*RequestHandler) HandleTcpRequest ¶
func (h *RequestHandler) HandleTcpRequest(iter route.EndpointIterator)
func (*RequestHandler) HandleUnsupportedProtocol ¶
func (h *RequestHandler) HandleUnsupportedProtocol()
func (*RequestHandler) HandleWebSocketRequest ¶
func (h *RequestHandler) HandleWebSocketRequest(iter route.EndpointIterator)
func (*RequestHandler) Logger ¶
func (h *RequestHandler) Logger() *steno.Logger
Click to show internal directories.
Click to hide internal directories.