Top Description Methods
jdk.internal.net.http

pack-priv Interface HeaderFilter

Known Direct Implementers
jdk.internal.net.http.RedirectFilter, jdk.internal.net.http.AuthenticationFilter, jdk.internal.net.http.CookieFilter
Imports
java.io.IOException

A header filter that can examine or modify, typically system headers for requests before they are sent, and responses before they are returned to the user. Some ability to resend requests is provided.

Method Summary

Modifier and TypeMethod and Description
public void
public HttpRequestImpl
response(Response r)

Returns null if response ok to be given to user.

Method Detail

requestback to summary
public void request(HttpRequestImpl r, MultiExchange<?> e) throws IOException
responseback to summary
public HttpRequestImpl response(Response r) throws IOException

Returns null if response ok to be given to user. Non null is a request that must be resent and its response given to user. If impl throws an exception that is returned to user instead.