pygmy.core
Class Request
java.lang.Object
pygmy.core.Request
- Direct Known Subclasses:
- HttpRequest, NntpRequest
public abstract class Request
- extends java.lang.Object
Field Summary |
protected java.net.Socket |
connection
|
Constructor Summary |
Request(java.net.Socket connection,
java.util.Properties serverConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
protected java.net.Socket connection
Request
public Request(java.net.Socket connection,
java.util.Properties serverConfig)
getProperty
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
putProperty
public void putProperty(java.lang.String key,
java.lang.String value)
isInternal
public boolean isInternal()
setIsInternal
protected void setIsInternal(boolean isItInternal)
getLocalAddr
public java.lang.String getLocalAddr()
getLocalPort
public int getLocalPort()
getRemoteAddr
public java.lang.String getRemoteAddr()
getRemotePort
public int getRemotePort()