org.objectweb.dsrg.sofa.repository.server.webapp
Class SofaHttpConstants

java.lang.Object
  extended by org.objectweb.dsrg.sofa.repository.server.webapp.SofaHttpConstants

public class SofaHttpConstants
extends java.lang.Object

Holds HTTP error constants for HTTP status 404 to signalize specific errors and other HTTP constants. Must be compatible with SofaHttpConstantsClient


Field Summary
static java.lang.String ERROR_INVALID_OPERATION
          Error constant for message when a invalid operation was requested.
static java.lang.String ERROR_INVALID_QUERY
          Error constant for message when query in request is invalid.
static java.lang.String ERROR_JAR_ENTRY_NOT_FOUND
          Error constant for message when requested jar entry not found.
static java.lang.String ERROR_MESSAGE_PREFIX
          String prefix of returning error message
static java.lang.String ERROR_MESSAGE_SEPARATOR
          This string separates error code and error text in message.
static java.lang.String ERROR_NOT_DELETING
          Error constant for message when a file cannot be deleted.
static java.lang.String ERROR_REPOSITORY_FILE_NOT_FOUND
          Error constant for message when repository file not found.
static java.lang.String ERROR_ZIP
          Error constant for message when zip (JAR) exception occured.
static java.lang.String QUERY_PARAM_JAR_PART
          Parameter name in query part of request URL for specifying JAR EntryName to look for on the server.
static java.lang.String QUERY_PARAM_RECURSIVE
          Parameter name in query part of reuqest URL for specifying, if RepositoryServer should look for class in CodeBundles recursively.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUERY_PARAM_JAR_PART

public static final java.lang.String QUERY_PARAM_JAR_PART
Parameter name in query part of request URL for specifying JAR EntryName to look for on the server. Content is String.

See Also:
Constant Field Values

QUERY_PARAM_RECURSIVE

public static final java.lang.String QUERY_PARAM_RECURSIVE
Parameter name in query part of reuqest URL for specifying, if RepositoryServer should look for class in CodeBundles recursively. Content is Boolean.

See Also:
Constant Field Values

ERROR_MESSAGE_SEPARATOR

public static final java.lang.String ERROR_MESSAGE_SEPARATOR
This string separates error code and error text in message.

See Also:
Constant Field Values

ERROR_MESSAGE_PREFIX

public static final java.lang.String ERROR_MESSAGE_PREFIX
String prefix of returning error message

See Also:
Constant Field Values

ERROR_REPOSITORY_FILE_NOT_FOUND

public static final java.lang.String ERROR_REPOSITORY_FILE_NOT_FOUND
Error constant for message when repository file not found.

See Also:
Constant Field Values

ERROR_JAR_ENTRY_NOT_FOUND

public static final java.lang.String ERROR_JAR_ENTRY_NOT_FOUND
Error constant for message when requested jar entry not found.

See Also:
Constant Field Values

ERROR_INVALID_QUERY

public static final java.lang.String ERROR_INVALID_QUERY
Error constant for message when query in request is invalid.

See Also:
Constant Field Values

ERROR_ZIP

public static final java.lang.String ERROR_ZIP
Error constant for message when zip (JAR) exception occured.

See Also:
Constant Field Values

ERROR_NOT_DELETING

public static final java.lang.String ERROR_NOT_DELETING
Error constant for message when a file cannot be deleted.

See Also:
Constant Field Values

ERROR_INVALID_OPERATION

public static final java.lang.String ERROR_INVALID_OPERATION
Error constant for message when a invalid operation was requested.

See Also:
Constant Field Values