Package | Description |
---|---|
org.glassfish.jersey.server.model |
Jersey server-side application & resource modeling classes.
|
org.glassfish.jersey.server.wadl |
Jersey server-side WADL support public classes and interfaces.
|
Modifier and Type | Class and Description |
---|---|
static class |
Parameter.BeanParameter
Bean Parameter class represents a parameter annotated with
BeanParam which in fact represents
additional set of parameters. |
Modifier and Type | Method and Description |
---|---|
static Parameter |
Parameter.create(Class concreteClass,
Class declaringClass,
boolean encodeByDefault,
Class<?> rawType,
Type type,
Annotation[] annotations)
Create a parameter model.
|
static Parameter |
Parameter.overrideSource(Parameter original,
Parameter.Source source)
Create new parameter model by overriding
source
of the original parameter model. |
Modifier and Type | Method and Description |
---|---|
static List<Parameter> |
Parameter.create(Class concreteClass,
Class declaringClass,
Constructor<?> ctor,
boolean keepEncoded)
Create a list of parameter models for a given resource method handler
injectable constructor.
|
static List<Parameter> |
Parameter.create(Class concreteClass,
Class declaringClass,
Method javaMethod,
boolean keepEncoded)
Create a list of parameter models for a given Java method handling a resource
method, sub-resource method or a sub-resource locator.
|
Collection<Parameter> |
Parameter.BeanParameter.getParameters() |
List<Parameter> |
HandlerConstructor.getParameters() |
List<Parameter> |
Invocable.getParameters() |
List<Parameter> |
Parameterized.getParameters()
Provides access to all parameters associated with given Parameterized instance.
|
Collection<Parameter> |
MethodHandler.getParameters()
Get the parameters associated directly with the resource method handler, if any
(e.g.
|
Modifier and Type | Method and Description |
---|---|
static Parameter |
Parameter.overrideSource(Parameter original,
Parameter.Source source)
Create new parameter model by overriding
source
of the original parameter model. |
Modifier and Type | Method and Description |
---|---|
static MethodHandler |
MethodHandler.create(Class<?> handlerClass,
boolean keepConstructorParamsEncoded,
Collection<Parameter> handlerParameters)
Create a class-based method handler from a class.
|
static MethodHandler |
MethodHandler.create(Class<?> handlerClass,
Collection<Parameter> handlerParameters)
Create a class-based method handler from a class.
|
static MethodHandler |
MethodHandler.create(Object handlerInstance,
Class<?> handlerClass,
Collection<Parameter> handlerParameters)
Create a instance-based (singleton) method handler from a class.
|
static MethodHandler |
MethodHandler.create(Object handlerInstance,
Collection<Parameter> handlerParameters)
Create a instance-based (singleton) method handler from a class.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handlerParameters(Collection<Parameter> parameters)
Parameters defined on the handler (i.e.
|
Constructor and Description |
---|
MethodHandler(Collection<Parameter> parameters)
Create new instance of a resource method handler model.
|
Modifier and Type | Method and Description |
---|---|
Param |
WadlGenerator.createParam(Resource r,
ResourceMethod m,
Parameter p) |
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.