Package | Description |
---|---|
org.pageseeder.berlioz.content |
Content generators and related classes.
|
org.pageseeder.berlioz.http |
A collection of classes to deal specifically with HTTP.
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
ServiceRegistry.getMethod(Service service)
Returns the HTTP method this service is mapped to.
|
Modifier and Type | Method and Description |
---|---|
MatchingService |
ServiceRegistry.get(String url,
HttpMethod method)
Returns the content generator for this URL and HTTP method.
|
Map<String,Service> |
ServiceRegistry.getServiceMap(HttpMethod method)
Returns an unmodifiable map of services by URI Pattern for the specified HTTP method.
|
List<Service> |
ServiceRegistry.getServices(HttpMethod method)
Returns the list of services for the specified HTTP method.
|
void |
ServiceRegistry.register(Service service,
URIPattern pattern,
HttpMethod method)
Register the content generator.
|
void |
Service.toXML(org.pageseeder.xmlwriter.XMLWriter xml,
HttpMethod method,
List<String> urls)
Serialises the specified service as XML.
|
void |
Service.toXML(org.pageseeder.xmlwriter.XMLWriter xml,
HttpMethod method,
List<String> urls,
String cacheControl)
Serialises the specified service as XML.
|
Modifier and Type | Method and Description |
---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<HttpMethod> |
HttpMethod.mappable()
Returns the HTTP methods mappable to a service.
|
Copyright © 2016 Allette Systems. All rights reserved.