Package org.jgrapes.http.events
Class HttpConnected
java.lang.Object
- All Implemented Interfaces:
- Future<Request.Out>,- Associator,- Eligible
Signals that a HTTP connection for a 
HttpRequest has been
established.The event is delivered on the subchannel that has been created for handling the request.
- 
Nested Class SummaryNested classes/interfaces inherited from interface java.util.concurrent.FutureFuture.State
- 
Field SummaryFields inherited from class org.jgrapes.core.internal.EventBasecompleted, completionEvents, invokedFor
- 
Constructor SummaryConstructorsConstructorDescriptionHttpConnected(Request.Out request, SocketAddress localAddress, SocketAddress remoteAddress) Instantiates a new event.
- 
Method SummaryMethods inherited from class org.jgrapes.core.EventaddCompletionEvent, associated, cancel, channels, channels, completionEvents, currentResults, defaultCriterion, forChannels, get, get, handled, handlingError, isCancelled, isDone, isEligibleFor, isStopped, processedBy, results, results, resumeHandling, setAssociated, setChannels, setRequiresResult, setResult, stop, suspendHandling, suspendHandling, tieTo, toStringMethods inherited from class org.jgrapes.core.internal.EventBasedisableTracking, enqueued, firstResultAssigned, isTracked, onCompletionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jgrapes.core.Associatorassociated, associated, associated, associatedGetMethods inherited from interface java.util.concurrent.FutureexceptionNow, resultNow, state
- 
Constructor Details- 
HttpConnectedInstantiates a new event.- Parameters:
- request- the request
- localAddress- the local address
- remoteAddress- the remote address
 
 
- 
- 
Method Details- 
requestReturns the request.The object returned is the object from the original Request.Outevent.- Returns:
- the request
 
- 
localAddress- Returns:
- the localAddress
 
- 
remoteAddress- Returns:
- the remoteAddress
 
 
-