public class Segment extends Object
Modifier and Type | Field and Description |
---|---|
protected ResourceLocator |
locator |
protected List<ResourceMethod> |
methods |
static String |
RESTEASY_CHOSEN_ACCEPT |
Constructor and Description |
---|
Segment() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isEmpty() |
protected ResourceInvoker |
match(String httpMethod,
HttpRequest request) |
public static final String RESTEASY_CHOSEN_ACCEPT
protected List<ResourceMethod> methods
protected ResourceLocator locator
protected boolean isEmpty()
protected ResourceInvoker match(String httpMethod, HttpRequest request)
httpMethod
- this is so we can find a GET match when HEAD is called (and there is no head)request
- Copyright © 2013 JBoss by Red Hat. All Rights Reserved.