public class AuthFilter extends Filter
Filter.Chain
Constructor and Description |
---|
AuthFilter(Authenticator authenticator) |
Modifier and Type | Method and Description |
---|---|
void |
consumeInput(HttpExchange t) |
String |
description()
returns a short description of this Filter
|
void |
doFilter(HttpExchange t,
Filter.Chain chain)
The filter's implementation, which is invoked by the server
|
void |
setAuthenticator(Authenticator a) |
public AuthFilter(Authenticator authenticator)
public String description()
Filter
description
in class Filter
public void setAuthenticator(Authenticator a)
public void consumeInput(HttpExchange t) throws IOException
IOException
public void doFilter(HttpExchange t, Filter.Chain chain) throws IOException
doFilter
in class Filter
t
- the HttpExchange
to be filtered.chain
- the Chain which allows the next filter to be invoked.IOException
- may be thrown by any filter module, and if
caught, must be rethrown again.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.