kubernetes/vendor/github.com/emicklei/go-restful/v3/route.go

type RouteFunction

type RouteSelectionConditionFunction

type Route

// Initialize for Route
func (r *Route) postBuild() {}

// Create Request and Response from their http versions
func (r *Route) wrapRequestResponse(httpWriter http.ResponseWriter, httpRequest *http.Request, pathParams map[string]string) (*Request, *Response) {}

func stringTrimSpaceCutset(r rune) bool {}

// Return whether the mimeType matches to what this Route can produce.
func (r Route) matchesAccept(mimeTypesWithQuality string) bool {}

// Return whether this Route can consume content with a type specified by mimeTypes (can be empty).
func (r Route) matchesContentType(mimeTypes string) bool {}

// Tokenize an URL path using the slash separator ; the result does not have empty tokens
func tokenizePath(path string) []string {}

// for debugging
func (r *Route) String() string {}

// EnableContentEncoding (default=false) allows for GZIP or DEFLATE encoding of responses. Overrides the container.contentEncodingEnabled value.
func (r *Route) EnableContentEncoding(enabled bool) {}

var TrimRightSlashEnabled