A F G H I L O P R S

A

addElement(String) - Method in class org.glassfish.examples.http.HttpRequest
Sets the next element in the request
AlternateInject - Annotation Type in org.glassfish.examples.http
Our custom injection annotation.
AlternateInjectResolver - Class in org.glassfish.examples.http
 
AlternateInjectResolver() - Constructor for class org.glassfish.examples.http.AlternateInjectResolver
 

F

find(ActiveDescriptor<U>) - Method in class org.glassfish.examples.http.RequestContext
 
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.examples.http.RequestContext
 
finishRequest() - Method in class org.glassfish.examples.http.HttpServer
Finishes the request

G

getLastAction() - Method in class org.glassfish.examples.http.HttpEventReceiver
 
getLastId() - Method in class org.glassfish.examples.http.HttpEventReceiver
 
getLastRank() - Method in class org.glassfish.examples.http.HttpEventReceiver
 
getPathElement(int) - Method in class org.glassfish.examples.http.HttpRequest
Gets the path element from the given index
getScope() - Method in class org.glassfish.examples.http.RequestContext
 

H

HttpEventReceiver - Class in org.glassfish.examples.http
This receiver will receive a specific kind of HttpRequest where the elements of the request have these types: The rank of the request is an integer The id of the request is a long The requested action is a String
HttpEventReceiver() - Constructor for class org.glassfish.examples.http.HttpEventReceiver
 
HttpParameter - Annotation Type in org.glassfish.examples.http
This is a special annotation that can be used to pull out the specific information from the HttpRequest
HttpRequest - Class in org.glassfish.examples.http
This is not a true HttpRequest, but is just here for illustration purposes.
HttpRequest() - Constructor for class org.glassfish.examples.http.HttpRequest
 
HttpServer - Class in org.glassfish.examples.http
 
HttpServer() - Constructor for class org.glassfish.examples.http.HttpServer
 

I

isActive() - Method in class org.glassfish.examples.http.RequestContext
 

L

log(String) - Method in class org.glassfish.examples.http.Logger
This just prints the string to stdout.
Logger - Class in org.glassfish.examples.http
This is just an example of another service a method might want to inject
Logger() - Constructor for class org.glassfish.examples.http.Logger
 

O

org.glassfish.examples.http - package org.glassfish.examples.http
 

P

processHttpRequest() - Method in class org.glassfish.examples.http.RequestProcessor
This implementation processes the HttpRequest and returns its HttpEventReceiver (mainly so that it can be properly tested)

R

receiveRequest(int, long, String, Logger) - Method in class org.glassfish.examples.http.HttpEventReceiver
This method will get called back with the information filled in from the request, either from the Alternate injection resolver or from the system provided three-thirty resolver
RequestContext - Class in org.glassfish.examples.http
This is the request scope context.
RequestContext() - Constructor for class org.glassfish.examples.http.RequestContext
 
RequestProcessor - Class in org.glassfish.examples.http
This is a class that processes an event as it comes.
RequestProcessor() - Constructor for class org.glassfish.examples.http.RequestProcessor
 
RequestScope - Annotation Type in org.glassfish.examples.http
The request scope is a proxiable scope, and changes from request to request
resolve(Injectee, ServiceHandle<?>) - Method in class org.glassfish.examples.http.AlternateInjectResolver
 

S

startRequest(String, String, String) - Method in class org.glassfish.examples.http.HttpServer
This method starts an httpRequest, with all the values from that request
startRequest() - Method in class org.glassfish.examples.http.RequestContext
Starts a request
stopRequest() - Method in class org.glassfish.examples.http.RequestContext
Stops a request (including properly disposing all the previous request objects)

A F G H I L O P R S

Copyright © 2012 Oracle Corporation. All Rights Reserved.