| java.lang.Object com.caucho.server.http.InvocationKey
InvocationKey | public class InvocationKey (Code) | | The invocation key is a triple
|
Constructor Summary | |
public | InvocationKey() Create an empty invocation key. | | InvocationKey(boolean isSecure, CharSequence host, int port, byte[] uri, int uriLength) Create a new invocation key with the given initial values. |
InvocationKey | public InvocationKey()(Code) | | Create an empty invocation key.
|
InvocationKey | InvocationKey(boolean isSecure, CharSequence host, int port, byte[] uri, int uriLength)(Code) | | Create a new invocation key with the given initial values. The
values are copied.
Parameters: host - the request's host Parameters: uri - the raw byte array containing the uri Parameters: urlLength - the length of the uri in the byte array Parameters: port - the request's port |
equals | public boolean equals(Object b)(Code) | | Returns true if the key matches the test key.
|
getPort | public int getPort()(Code) | | Returns the InvocationKey's port
|
getUriBuffer | public byte[] getUriBuffer()(Code) | | Returns the raw byte array containing the uri
|
getUriLength | public int getUriLength()(Code) | | Returns the length of the uri in the byte array.
|
hashCode | public int hashCode()(Code) | | Returns a hash code of the key.
|
init | public void init(boolean isSecure, CharSequence host, int port, byte[] uri, int uriLength)(Code) | | Initialize the InvocationKey with a new triple.
Parameters: host - the request's host Parameters: port - the request's port Parameters: uri - the raw byte array containing the uri Parameters: urlLength - the length of the uri in the byte array |
isSecure | public boolean isSecure()(Code) | | |
setPort | public void setPort(int port)(Code) | | Sets the InvocationKey's port.
|
toString | public String toString()(Code) | | Returns a printable representation of the key.
|
|
|