mmhttp.server
Class UnauthorizedResponder

java.lang.Object
  extended by mmhttp.server.UnauthorizedResponder
All Implemented Interfaces:
Responder

public class UnauthorizedResponder
extends java.lang.Object
implements Responder

Generates a 401 response which will usually cause the browser to promt the user for credentials.


Constructor Summary
UnauthorizedResponder()
           
 
Method Summary
 Response makeResponse(Server server, Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnauthorizedResponder

public UnauthorizedResponder()
Method Detail

makeResponse

public Response makeResponse(Server server,
                             Request request)
                      throws java.lang.Exception
Specified by:
makeResponse in interface Responder
Throws:
java.lang.Exception


Copyright © 2009 Micah Martin. All Rights Reserved.