Uses of Record Class
org.microproxy.contentviews.ContentView.Metadata
Packages that use ContentView.Metadata
-
Uses of ContentView.Metadata in org.microproxy.contentviews
Methods in org.microproxy.contentviews that return ContentView.MetadataModifier and TypeMethodDescriptionstatic ContentView.MetadataContentView.Metadata.forRequest(HttpRequest request) Metadata for a request's body.static ContentView.MetadataContentView.Metadata.forResponse(HttpRequest request, HttpMessage response) Metadata for a response's body.static ContentView.MetadataMetadata with only a content type.This metadata with a request path.ContentView.Metadata.withTrailers(HttpHeaders trailers) This metadata with trailer fields.Methods in org.microproxy.contentviews with parameters of type ContentView.MetadataModifier and TypeMethodDescriptiondefault booleanContentView.matches(byte[] data, ContentView.Metadata metadata) Whether this view applies todataat all.doubleContentView.priority(byte[] data, ContentView.Metadata metadata) How well this view suitsdata: 0 (or less) when it does not apply, more for a better fit.ContentView.render(byte[] data, ContentView.Metadata metadata) Rendersdataas text.ContentViews.render(byte[] data, ContentView.Metadata metadata) Renders a body with the best view that can.ContentViews.render(String view, byte[] data, ContentView.Metadata metadata) Renders a body with the view namedview, or the best one for "auto".ContentViews.select(byte[] data, ContentView.Metadata metadata) The viewautomode would try first.