net.officefloor.plugin.socket.server.http
Interface ServerHttpConnection

All Known Implementing Classes:
HttpManagedObjectImpl

public interface ServerHttpConnection

HTTP connection to be handled by the OfficeFloor.

Author:
Daniel Sagenschneider

Method Summary
 HttpRequest getHttpRequest()
          Obtains the HttpRequest for this ServerHttpConnection.
 HttpResponse getHttpResponse()
          Obtains the HttpResponse for this ServerHttpConnection.
 InetSocketAddress getLocalAddress()
          Obtains the local address for this ServerHttpConnection.
 InetSocketAddress getRemoteAddress()
          Obtains the remote address for this ServerHttpConnection.
 boolean isSecure()
          Indicates if the connection is over a secure channel (e.g.
 

Method Detail

getHttpRequest

HttpRequest getHttpRequest()
Obtains the HttpRequest for this ServerHttpConnection.

Returns:
HttpRequest for this ServerHttpConnection.

getHttpResponse

HttpResponse getHttpResponse()
Obtains the HttpResponse for this ServerHttpConnection.

Returns:
HttpResponse for this ServerHttpConnection.

isSecure

boolean isSecure()
Indicates if the connection is over a secure channel (e.g. utilising SSL).

Returns:
true if connection is over a secure channel.

getLocalAddress

InetSocketAddress getLocalAddress()
Obtains the local address for this ServerHttpConnection.

Returns:
InetSocketAddress describing the local Socket for this ServerHttpConnection.

getRemoteAddress

InetSocketAddress getRemoteAddress()
Obtains the remote address for this ServerHttpConnection.

Returns:
InetSocketAddress describing the remote Socket for this ServerHttpConnection.


Copyright © 2005-2011. All Rights Reserved.