Esri Geoportal Server
1.0

com.esri.gpt.server.assertion.handler
Class AsnRequestHandler

java.lang.Object
  extended by com.esri.gpt.server.assertion.handler.AsnRequestHandler

public class AsnRequestHandler
extends Object

Handles inbound assertion requests.


Constructor Summary
AsnRequestHandler()
          Default constructor
 
Method Summary
 AsnContext getAssertionContext()
          Gets the operation context.
 AsnResponse handleRequest(HttpServletRequest request, HttpServletResponse response)
          Handles a URL based request (HTTP GET).
protected  String readInputCharacters(HttpServletRequest request, int maxChars)
          Fully reads the characters from the request input stream.
 void setAssertionContext(AsnContext context)
          Sets the operation context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnRequestHandler

public AsnRequestHandler()
Default constructor

Method Detail

getAssertionContext

public AsnContext getAssertionContext()
Gets the operation context.

Returns:
the operation context

setAssertionContext

public void setAssertionContext(AsnContext context)
Sets the operation context.

Parameters:
context - the operation context

handleRequest

public AsnResponse handleRequest(HttpServletRequest request,
                                 HttpServletResponse response)
                          throws Exception
Handles a URL based request (HTTP GET).

Parameters:
request - the HTTP request
response - the HTTP response
Returns:
the operation response
Throws:
Exception - if a processing exception occurs

readInputCharacters

protected String readInputCharacters(HttpServletRequest request,
                                     int maxChars)
                              throws IOException
Fully reads the characters from the request input stream.

Parameters:
request - the HTTP servlet request
Returns:
the characters read
Throws:
IOException - if an exception occurs

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.