org.apache.wink.common
Class RestConstants

java.lang.Object
  extended by org.apache.wink.common.RestConstants

public final class RestConstants
extends java.lang.Object

Constants to be used in REST and REST client components.


Field Summary
static java.lang.String APP_PREFIX
           
static java.lang.String ATOM_PREFIX
           
static java.lang.String CHARACTER_ENCODING_UTF_8
           
static java.lang.String CHARSET_PARAM
           
static java.lang.String NAMESPACE_APP
           
static java.lang.String NAMESPACE_ATOM
           
static java.lang.String NAMESPACE_OPENSEARCH
           
static java.lang.String NAMESPACE_XHTML
           
static java.lang.String NAMESPACE_XML
           
static java.lang.String OPENSEARCH_PREFIX
           
static java.lang.String REST_PARAM_ABSOLUTE_URLS
          Links in response should be absolute.
static java.lang.String REST_PARAM_AUTHOR
          Filter by author parameter.
static java.lang.String REST_PARAM_CATEGORY
          Specify filtering by category.
static java.lang.String REST_PARAM_ENTRY_ID
          Filter by entry-id.
static java.lang.String REST_PARAM_JSON_CALLBACK
          JSON will be encloses as parameter to the value - method name.
static java.lang.String REST_PARAM_MEDIA_TYPE
          Overrides Accept-Header with one type.
static java.lang.String REST_PARAM_ORDER_BY
          Specified collection ordering.
static java.lang.String REST_PARAM_PAGING_SIZE
          Number of elements per page.
static java.lang.String REST_PARAM_PAGING_SIZE_UNLIMITED
          Special value of page-size.
static java.lang.String REST_PARAM_PAGING_START
          The first item to include in the result page.
static java.lang.String REST_PARAM_QUERY
          Filter by custom query.
static java.lang.String REST_PARAM_RELATIVE_URLS
          Links in response should be relative.
static java.lang.String XHTML_PREFIX
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE_XML

public static final java.lang.String NAMESPACE_XML
See Also:
Constant Field Values

NAMESPACE_XHTML

public static final java.lang.String NAMESPACE_XHTML
See Also:
Constant Field Values

XHTML_PREFIX

public static final java.lang.String XHTML_PREFIX
See Also:
Constant Field Values

NAMESPACE_ATOM

public static final java.lang.String NAMESPACE_ATOM
See Also:
Constant Field Values

ATOM_PREFIX

public static final java.lang.String ATOM_PREFIX
See Also:
Constant Field Values

NAMESPACE_APP

public static final java.lang.String NAMESPACE_APP
See Also:
Constant Field Values

APP_PREFIX

public static final java.lang.String APP_PREFIX
See Also:
Constant Field Values

NAMESPACE_OPENSEARCH

public static final java.lang.String NAMESPACE_OPENSEARCH
See Also:
Constant Field Values

OPENSEARCH_PREFIX

public static final java.lang.String OPENSEARCH_PREFIX
See Also:
Constant Field Values

CHARSET_PARAM

public static final java.lang.String CHARSET_PARAM
See Also:
Constant Field Values

CHARACTER_ENCODING_UTF_8

public static final java.lang.String CHARACTER_ENCODING_UTF_8
See Also:
Constant Field Values

REST_PARAM_MEDIA_TYPE

public static final java.lang.String REST_PARAM_MEDIA_TYPE
Overrides Accept-Header with one type.

See Also:
Constant Field Values

REST_PARAM_JSON_CALLBACK

public static final java.lang.String REST_PARAM_JSON_CALLBACK
JSON will be encloses as parameter to the value - method name.

See Also:
Constant Field Values

REST_PARAM_PAGING_START

public static final java.lang.String REST_PARAM_PAGING_START
The first item to include in the result page.

See Also:
Constant Field Values

REST_PARAM_PAGING_SIZE

public static final java.lang.String REST_PARAM_PAGING_SIZE
Number of elements per page.

See Also:
Constant Field Values

REST_PARAM_PAGING_SIZE_UNLIMITED

public static final java.lang.String REST_PARAM_PAGING_SIZE_UNLIMITED
Special value of page-size.

See Also:
Constant Field Values

REST_PARAM_CATEGORY

public static final java.lang.String REST_PARAM_CATEGORY
Specify filtering by category.

See Also:
Constant Field Values

REST_PARAM_ORDER_BY

public static final java.lang.String REST_PARAM_ORDER_BY
Specified collection ordering.

See Also:
Constant Field Values

REST_PARAM_AUTHOR

public static final java.lang.String REST_PARAM_AUTHOR
Filter by author parameter.

See Also:
Constant Field Values

REST_PARAM_ENTRY_ID

public static final java.lang.String REST_PARAM_ENTRY_ID
Filter by entry-id.

See Also:
Constant Field Values

REST_PARAM_QUERY

public static final java.lang.String REST_PARAM_QUERY
Filter by custom query.

See Also:
Constant Field Values

REST_PARAM_RELATIVE_URLS

public static final java.lang.String REST_PARAM_RELATIVE_URLS
Links in response should be relative.

See Also:
Constant Field Values

REST_PARAM_ABSOLUTE_URLS

public static final java.lang.String REST_PARAM_ABSOLUTE_URLS
Links in response should be absolute.

See Also:
Constant Field Values


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.