Oracle Application Server HTTPClient API Reference
10g Release 2 (10.1.2)

B14020-02


HTTPClient
Interface RoRequest

All Known Implementing Classes:
Request

public interface RoRequest

This interface represents the read-only interface of an http request. It is the compile-time type passed to various handlers which might need the request info but musn't modify the request.


Method Summary
 boolean allowUI()
           
 HTTPConnection getConnection()
           
 byte[] getData()
           
 NVPair[] getHeaders()
           
 java.lang.String getMethod()
           
 java.lang.String getRequestURI()
           
 HttpOutputStream getStream()
           

 

Method Detail

getConnection

public HTTPConnection getConnection()
Returns:
the HTTPConnection this request is associated with

getMethod

public java.lang.String getMethod()
Returns:
the request method

getRequestURI

public java.lang.String getRequestURI()
Returns:
the request-uri

getHeaders

public NVPair[] getHeaders()
Returns:
the headers making up this request

getData

public byte[] getData()
Returns:
the body of this request

getStream

public HttpOutputStream getStream()
Returns:
the output stream on which the body is written

allowUI

public boolean allowUI()
Returns:
true if the modules or handlers for this request may popup windows or otherwise interact with the user

Oracle Application Server HTTPClient API Reference
10g Release 2 (10.1.2)

B14020-02


Copyright © 2004, 2005, Oracle. All rights reserved.