Serialized Form


Package org.apache.openejb.server.httpd

Class org.apache.openejb.server.httpd.HttpRequestImpl extends java.lang.Object implements Serializable

Serialized Fields

method

HttpRequest.Method method
5.1.1 Method


uri

java.net.URI uri
5.1.2 Request-URI


headers

java.util.Map<K,V> headers
the headers for this page


formParams

java.util.Map<K,V> formParams
the form parameters for this page


queryParams

java.util.Map<K,V> queryParams
the URL (or query) parameters for this page


parameters

java.util.Map<K,V> parameters
All form and query parameters. Query parameters override form parameters.


cookies

java.util.Map<K,V> cookies
Cookies sent from the client


body

byte[] body
the content of the body of the request


in

java.io.InputStream in

length

int length

contentType

java.lang.String contentType

socketURI

java.net.URI socketURI
the address the request came in on


attributes

java.util.Map<K,V> attributes
Request scoped data which is set and used by application code.

Class org.apache.openejb.server.httpd.HttpResponseImpl extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Reads in a serilized HttpResponseImpl object from a file

Throws:
java.io.IOException - if an exception is thrown
java.lang.ClassNotFoundException - if an exception is thrown

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
writes this object out to a file

Throws:
java.io.IOException - if an exception is thrown
Serialized Fields

responseString

java.lang.String responseString
Response string


code

int code
Code


headers

java.util.Map<K,V> headers
Response headers


body

byte[] body
Response body


request

HttpRequestImpl request

content

java.net.URLConnection content

Class org.apache.openejb.server.httpd.ServletRequestAdapter extends java.lang.Object implements Serializable

Serialized Fields

request

javax.servlet.http.HttpServletRequest request

Class org.apache.openejb.server.httpd.ServletResponseAdapter extends java.lang.Object implements Serializable

Serialized Fields

response

javax.servlet.http.HttpServletResponse response



Copyright © 1999-2009 The Apache OpenEJB development community. All Rights Reserved.