Package org.jgrapes.http.events
Class Request.In.Options
java.lang.Object
org.jgrapes.core.internal.EventBase<Boolean>
org.jgrapes.core.Event<Boolean>
org.jgrapes.http.events.MessageReceived<Boolean>
org.jgrapes.http.events.Request<Boolean>
org.jgrapes.http.events.Request.In
org.jgrapes.http.events.Request.In.Options
- All Implemented Interfaces:
Future<Boolean>
,Associator
,Eligible
- Enclosing class:
Request.In
Represents a HTTP OPTIONS request.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jgrapes.http.events.Request.In
Request.In.Completed, Request.In.Connect, Request.In.Delete, Request.In.Get, Request.In.Head, Request.In.Options, Request.In.Post, Request.In.Put, Request.In.Trace
Nested classes/interfaces inherited from class org.jgrapes.http.events.Request
Request.In, Request.Out
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Field Summary
Fields inherited from class org.jgrapes.core.internal.EventBase
completed, completionEvents, invokedFor
-
Constructor Summary
ConstructorDescriptionOptions
(HttpRequest request, boolean secure, int matchLevels, Channel... channels) Create a new event. -
Method Summary
Methods inherited from class org.jgrapes.http.events.Request.In
createMatchValue, defaultCriterion, effectiveRequestUri, fromHttpRequest, fulfilled, httpRequest, isEligibleFor, requestUri, setRequestUri, toString
Methods inherited from class org.jgrapes.core.Event
addCompletionEvent, associated, cancel, channels, channels, completionEvents, currentResults, forChannels, get, get, handled, handlingError, isCancelled, isDone, isStopped, processedBy, results, results, resumeHandling, setAssociated, setChannels, setRequiresResult, setResult, stop, suspendHandling, suspendHandling, tieTo
Methods inherited from class org.jgrapes.core.internal.EventBase
disableTracking, enqueued, firstResultAssigned, isTracked, onCompletion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jgrapes.core.Associator
associated, associated, associated, associatedGet
Methods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
Options
public Options(HttpRequest request, boolean secure, int matchLevels, Channel... channels) throws URISyntaxException Create a new event.- Parameters:
request
- the request datasecure
- indicates whether the request was received on a secure channelmatchLevels
- the number of elements from the request path to use in the match valuechannels
- the channels on which the event is to be fired (optional)- Throws:
URISyntaxException
-