Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jersey.api.core
Interface Traceable

All Known Subinterfaces:
  HttpContext, HttpRequestContext, UriMatchResultContext, UriRuleContext, WebApplication

All Known Implementing Classes:
  AdaptingContainerRequest, CachedEntityContainerRequest, ContainerRequest

    public interface Traceable

Traceable support for checking if tracing is enabled and to add trace messages.

Author:
  Paul.Sandoz@Sun.Com

Method Summary
`boolean` | `isTracingEnabled()` Check if tracing is enabled.
`void` | `trace(java.lang.String message)` Add a trace message.

Method Detail

### isTracingEnabled

    boolean isTracingEnabled()

  Check if tracing is enabled.

  Returns:
    true if tracing is enabled, otherwise false.

### trace

    void trace(java.lang.String message)

  Add a trace message.

  A trace message will be added if `isTracingEnabled()` returns true and tracing contraints are satisfied.

  Parameters:
    `message` - the trace message to add.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 Oracle Corporation. All Rights Reserved.