org.cruxframework.crux.core.server.rest.core.registry
Class Segment

java.lang.Object
  extended by org.cruxframework.crux.core.server.rest.core.registry.Segment
Direct Known Subclasses:
PathParamSegment, RootSegment

public class Segment
extends Object

Author:
Thiago da Rosa de Bustamante

Constructor Summary
Segment()
           
 
Method Summary
protected  void addMethod(ResourceMethod invoker)
           
protected  boolean isEmpty()
           
protected  boolean isResponseMediaTypeAllowed(List<MediaType> accepts)
           
protected  ResourceMethod match(String httpMethod, HttpRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Segment

public Segment()
Method Detail

isEmpty

protected boolean isEmpty()

match

protected ResourceMethod match(String httpMethod,
                               HttpRequest request)

addMethod

protected void addMethod(ResourceMethod invoker)

isResponseMediaTypeAllowed

protected boolean isResponseMediaTypeAllowed(List<MediaType> accepts)


Copyright © 2015. All rights reserved.