org.jboss.sun.net.httpserver
Class AuthFilter
java.lang.Object
org.jboss.com.sun.net.httpserver.Filter
org.jboss.sun.net.httpserver.AuthFilter
public class AuthFilter
- extends Filter
Nested classes/interfaces inherited from class org.jboss.com.sun.net.httpserver.Filter |
Filter.Chain |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthFilter
public AuthFilter(Authenticator authenticator)
description
public String description()
- Description copied from class:
Filter
- returns a short description of this Filter
- Specified by:
description
in class Filter
- Returns:
- a string describing the Filter
setAuthenticator
public void setAuthenticator(Authenticator a)
consumeInput
public void consumeInput(HttpExchange t)
throws IOException
- Throws:
IOException
doFilter
public void doFilter(HttpExchange t,
Filter.Chain chain)
throws IOException
- The filter's implementation, which is invoked by the server
- Specified by:
doFilter
in class Filter
- Parameters:
t
- the HttpExchange
to be filtered.chain
- the Chain which allows the next filter to be invoked.
- Throws:
IOException
- may be thrown by any filter module, and if
caught, must be rethrown again.
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.