com.ibm.maf.atp
Class AtpRequestImpl

java.lang.Object
  extended bycom.ibm.maf.atp.AtpRequestImpl
All Implemented Interfaces:
AtpRequest

public final class AtpRequestImpl
extends java.lang.Object
implements AtpRequest

Version:
1.10 $Date :$
Author:
Mitsuru Oshima

Field Summary
(package private) static AgentProfile agent_profile
           
(package private) static java.lang.String ATP_VERSION
           
private  java.util.Hashtable headers
           
private  java.io.InputStream in
           
private  int method
           
private  java.lang.String requestLine
           
private  java.net.URL requestURI
           
 
Constructor Summary
AtpRequestImpl(java.io.InputStream in)
           
 
Method Summary
 Name getAgentName()
           
 java.lang.String getAgentNameAsString()
           
 AgentProfile getAgentProfile()
           
 int getContentLength()
           
 java.lang.String getFetchClassFile()
           
 java.io.InputStream getInputStream()
           
 int getMethod()
           
 java.lang.String getPlaceName()
           
 java.lang.String getRequestLine()
           
 java.lang.String getRequestParameter(java.lang.String key)
           
 java.lang.String getRequestParameter(java.lang.String key, java.lang.String defValue)
           
 java.lang.String getSender()
           
 void parseHeaders()
           
private static void verboseOut(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATP_VERSION

static final java.lang.String ATP_VERSION
See Also:
Constant Field Values

in

private java.io.InputStream in

method

private int method

requestURI

private java.net.URL requestURI

requestLine

private java.lang.String requestLine

headers

private java.util.Hashtable headers

agent_profile

static AgentProfile agent_profile
Constructor Detail

AtpRequestImpl

public AtpRequestImpl(java.io.InputStream in)
               throws java.io.IOException
Method Detail

getAgentName

public Name getAgentName()
Specified by:
getAgentName in interface AtpRequest

getAgentNameAsString

public java.lang.String getAgentNameAsString()
Specified by:
getAgentNameAsString in interface AtpRequest

getAgentProfile

public AgentProfile getAgentProfile()
Specified by:
getAgentProfile in interface AtpRequest

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface AtpRequest

getFetchClassFile

public java.lang.String getFetchClassFile()
Specified by:
getFetchClassFile in interface AtpRequest

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface AtpRequest

getMethod

public int getMethod()
Specified by:
getMethod in interface AtpRequest

getPlaceName

public java.lang.String getPlaceName()
Specified by:
getPlaceName in interface AtpRequest

getRequestLine

public java.lang.String getRequestLine()
Specified by:
getRequestLine in interface AtpRequest

getRequestParameter

public java.lang.String getRequestParameter(java.lang.String key)
Specified by:
getRequestParameter in interface AtpRequest

getRequestParameter

public java.lang.String getRequestParameter(java.lang.String key,
                                            java.lang.String defValue)

getSender

public java.lang.String getSender()
Specified by:
getSender in interface AtpRequest

parseHeaders

public void parseHeaders()
                  throws java.io.IOException
Specified by:
parseHeaders in interface AtpRequest
Throws:
java.io.IOException

verboseOut

private static void verboseOut(java.lang.String msg)