All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class novocode.netforge.http.Request

java.lang.Object
   |
   +----novocode.netforge.http.Request

public final class Request
extends Object

Field Index

     o   authMethod

     o   authUser

     o   baseName

     o   encodedOptions

     o   encodedURI

     o   httpVersionMajor

     o   httpVersionMinor

     o   in

     o   internalAttributes

     o   localName

     o   name

     o   out

     o   parentRequest

     o   requestMethod

     o   suppressHeaders

Constructor Index

     o   Request()
Create an empty request

     o   Request(Request)
Create a copy of an existing request with the same HTTP version, headers, connection and streams

Method Index

     o   getConnection()

     o   getCookieVector()

     o   getHeaderDictionary()

     o   getIfModifiedSinceHeader()

     o   getLocalHost()

     o   getLocalNameParts()

     o   getLowercaseHeader(String)

     o   getLowercaseIntHeader(String)

     o   getProtocol()

     o   getResolvedLocalName()

     o   init()
This method is called after the request has been filled with data

     o   isHead()

     o   retry(String)

     o   setLowercaseHeader(String, String)

     o   setURI(String)


Fields 

o   httpVersionMajor
 public int httpVersionMajor
o   httpVersionMinor
 public int httpVersionMinor
o   name
 public String name
o   localName
 public String localName
o   baseName
 public String baseName
o   encodedOptions
 public String encodedOptions
o   encodedURI
 public String encodedURI
o   requestMethod
 public String requestMethod
o   authMethod
 public String authMethod
o   authUser
 public String authUser
o   in
 public InputStream in
o   out
 public OutputStream out
o   suppressHeaders
 public boolean suppressHeaders
o   internalAttributes
 public Hashtable internalAttributes
o   parentRequest
 public Request parentRequest


Constructors 

o   Request
 public Request()
Create an empty request

o   Request
 public Request(Request req)
Create a copy of an existing request with the same HTTP version, headers, connection and streams


Methods 

o   init
 public void init()
This method is called after the request has been filled with data

o   setURI
 public void setURI(String uri)
o   getConnection
 public Connection getConnection()
o   getIfModifiedSinceHeader
 public long getIfModifiedSinceHeader()
o   getHeaderDictionary
 public Dictionary getHeaderDictionary()
o   getLowercaseHeader
 public String getLowercaseHeader(String key)
o   getLowercaseIntHeader
 public int getLowercaseIntHeader(String key) throws NumberFormatException
o   setLowercaseHeader
 public void setLowercaseHeader(String key,
                                String value)
o   getLocalNameParts
 public String[] getLocalNameParts()
o   getResolvedLocalName
 public String getResolvedLocalName()
o   retry
 public void retry(String location)
o   getLocalHost
 public String getLocalHost()
o   isHead
 public boolean isHead()
o   getCookieVector
 public Vector getCookieVector()
o   getProtocol
 public String getProtocol()

All Packages  Class Hierarchy  This Package  Previous  Next  Index