text
stringlengths
30
1.67M
<s> package ch . ethz . inf . vs . californium . examples . ipso ; import ch . ethz . inf . vs . californium . coap . CodeRegistry ; import ch . ethz . inf . vs . californium . coap . GETRequest ; import ch . ethz . inf . vs . californium . coap . MediaTypeRegistry ; import ch . ethz . inf . vs . californium . endpoint...
<s> package ch . ethz . inf . vs . californium . examples . ipso ; import ch . ethz . inf . vs . californium . coap . CodeRegistry ; import ch . ethz . inf . vs . californium . coap . GETRequest ; import ch . ethz . inf . vs . californium . coap . MediaTypeRegistry ; import ch . ethz . inf . vs . californium . endpoint...
<s> package ch . ethz . inf . vs . californium . examples . ipso ; import ch . ethz . inf . vs . californium . coap . CodeRegistry ; import ch . ethz . inf . vs . californium . coap . GETRequest ; import ch . ethz . inf . vs . californium . coap . MediaTypeRegistry ; import ch . ethz . inf . vs . californium . coap . P...
<s> package ch . ethz . inf . vs . californium . examples . ipso ; import java . util . Timer ; import java . util . TimerTask ; import ch . ethz . inf . vs . californium . coap . CodeRegistry ; import ch . ethz . inf . vs . californium . coap . GETRequest ; import ch . ethz . inf . vs . californium . coap . MediaTypeR...
<s> package ch . ethz . inf . vs . californium . examples . ipso ; import ch . ethz . inf . vs . californium . coap . CodeRegistry ; import ch . ethz . inf . vs . californium . coap . GETRequest ; import ch . ethz . inf . vs . californium . coap . MediaTypeRegistry ; import ch . ethz . inf . vs . californium . coap . P...
<s> package ch . ethz . inf . vs . californium . examples . ipso ; import java . util . Timer ; import java . util . TimerTask ; import ch . ethz . inf . vs . californium . coap . CodeRegistry ; import ch . ethz . inf . vs . californium . coap . GETRequest ; import ch . ethz . inf . vs . californium . coap . MediaTypeR...
<s> package ch . ethz . inf . vs . californium . examples . ipso ; import java . util . Timer ; import java . util . TimerTask ; import ch . ethz . inf . vs . californium . coap . CodeRegistry ; import ch . ethz . inf . vs . californium . coap . GETRequest ; import ch . ethz . inf . vs . californium . coap . MediaTypeR...
<s> package ch . ethz . inf . vs . californium . examples . ipso ; import ch . ethz . inf . vs . californium . coap . CodeRegistry ; import ch . ethz . inf . vs . californium . coap . GETRequest ; import ch . ethz . inf . vs . californium . coap . MediaTypeRegistry ; import ch . ethz . inf . vs . californium . endpoint...
<s> package ch . ethz . inf . vs . californium . examples ; import java . io . IOException ; import java . lang . reflect . Constructor ; import java . lang . reflect . InvocationTargetException ; import java . lang . reflect . Modifier ; import java . net . URI ; import java . net . URISyntaxException ; import java . ...
<s> package org . fluentd . logger . util ; import java . io . IOException ; import java . net . ServerSocket ; import java . net . Socket ; import java . util . HashMap ; import java . util . concurrent . atomic . AtomicBoolean ; import org . fluentd . logger . sender . Event ; import org . msgpack . MessagePack ; imp...
<s> package org . fluentd . logger ; import static org . junit . Assert . assertEquals ; import java . io . BufferedInputStream ; import java . io . EOFException ; import java . io . IOException ; import java . net . Socket ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . List ; im...
<s> package org . fluentd . logger . sender ; import static org . junit . Assert . assertTrue ; import java . util . HashMap ; import java . util . Map ; import org . junit . Test ; public class TestNullSender { @ Test public void testNormal ( ) throws Exception { NullSender sender = new NullSender ( "<STR_LIT:localhos...
<s> package org . fluentd . logger . sender ; import static org . junit . Assert . assertEquals ; import java . io . BufferedInputStream ; import java . io . EOFException ; import java . io . IOException ; import java . net . Socket ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . ...
<s> package org . fluentd . logger . sender ; import static org . junit . Assert . assertArrayEquals ; import java . io . IOException ; import java . net . Socket ; import java . util . HashMap ; import java . util . Map ; import org . fluentd . logger . sender . RawSocketSender ; import org . fluentd . logger . sender...
<s> package org . fluentd . logger ; import java . lang . reflect . Constructor ; import java . lang . reflect . InvocationTargetException ; import java . util . HashMap ; import java . util . Map ; import java . util . Properties ; import java . util . WeakHashMap ; import org . fluentd . logger . sender . RawSocketSe...
<s> package org . fluentd . logger ; public interface Constants { String FLUENT_SENDER_CLASS = "<STR_LIT>" ; String FLUENT_RECONNECTOR_CLASS = "<STR_LIT>" ; } </s>
<s> package org . fluentd . logger ; public class Config implements Constants { } </s>
<s> package org . fluentd . logger . sender ; import java . io . BufferedOutputStream ; import java . io . IOException ; import java . net . InetSocketAddress ; import java . net . Socket ; import java . net . SocketAddress ; import java . nio . ByteBuffer ; import java . util . Map ; import java . util . logging . Lev...
<s> package org . fluentd . logger . sender ; import java . util . Map ; public class NullSender implements Sender { public NullSender ( String host , int port , int timeout , int bufferCapacity ) { } @ Override public boolean emit ( String tag , Map < String , Object > data ) { return emit ( tag , System . currentTime...
<s> package org . fluentd . logger . sender ; import java . util . LinkedList ; public class ExponentialDelayReconnector implements Reconnector { private static final java . util . logging . Logger LOG = java . util . logging . Logger . getLogger ( ExponentialDelayReconnector . class . getName ( ) ) ; private double wa...
<s> package org . fluentd . logger . sender ; import java . io . IOException ; import java . util . Map ; import org . msgpack . MessageTypeException ; import org . msgpack . packer . Packer ; import org . msgpack . template . AbstractTemplate ; import org . msgpack . template . Templates ; import org . msgpack . unpac...
<s> package org . fluentd . logger . sender ; public interface Reconnector { void clearErrorHistory ( ) ; void addErrorHistory ( long timestamp ) ; boolean enableReconnection ( long timestamp ) ; } </s>
<s> package org . fluentd . logger . sender ; import java . util . Map ; public interface Sender { boolean emit ( String tag , Map < String , Object > data ) ; boolean emit ( String tag , long timestamp , Map < String , Object > data ) ; void flush ( ) ; public byte [ ] getBuffer ( ) ; public void close ( ) ; public St...
<s> package com . jhu . cvrg . portal . videodisplay . utility ; import java . io . IOException ; import java . util . List ; import javax . portlet . PortletRequest ; import javax . portlet . PortletPreferences ; import javax . portlet . ReadOnlyException ; import javax . portlet . ValidatorException ; import org . po...
<s> package com . jhu . cvrg . portal . videodisplay . backing ; import javax . faces . bean . ManagedBean ; import javax . faces . bean . ManagedProperty ; import javax . faces . bean . ViewScoped ; import javax . faces . event . ActionEvent ; import javax . faces . event . PhaseId ; import javax . faces . event . Val...
<s> package com . jhu . cvrg . portal . videodisplay . backing ; import java . util . ArrayList ; import javax . faces . bean . ManagedBean ; import javax . faces . bean . ViewScoped ; import javax . faces . event . ActionEvent ; import javax . faces . event . PhaseId ; import javax . faces . event . ValueChangeEvent ;...
<s> package com . jhu . cvrg . portal . videodisplay . model ; import java . util . ArrayList ; import java . util . Collections ; import java . util . Comparator ; import java . util . List ; import javax . faces . bean . ManagedBean ; import javax . faces . bean . ViewScoped ; import javax . faces . model . SelectIte...
<s> package com . jhu . cvrg . portal . videodisplay . model ; import java . util . ArrayList ; import java . util . List ; import javax . faces . bean . ManagedBean ; import javax . faces . bean . ViewScoped ; import javax . faces . model . SelectItem ; import com . jhu . cvrg . portal . videodisplay . utility . Resou...
<s> package com . jhu . cvrg . portal . videodisplay . listener ; import javax . faces . context . FacesContext ; import javax . faces . event . PhaseEvent ; import javax . faces . event . PhaseId ; import javax . faces . event . PhaseListener ; import javax . faces . render . ResponseStateManager ; import javax . port...
<s> package org . metatype ; import java . lang . annotation . Annotation ; import java . lang . reflect . Method ; import java . util . ArrayList ; import java . util . List ; import java . util . Map ; public class MetaAnnotatedMethod extends MetaAnnotatedObject < Method > implements AnnotatedMethod < Method > { priv...
<s> package org . metatype ; import java . lang . annotation . Annotation ; import java . lang . reflect . Constructor ; public class MetaAnnotatedConstructor < T > extends MetaAnnotatedObject < Constructor < T > > implements AnnotatedMethod < Constructor < T > > { private Annotation [ ] [ ] parameterAnnotations ; publ...
<s> package org . metatype ; import java . lang . annotation . Annotation ; import java . lang . reflect . Field ; public class MetaAnnotatedField extends MetaAnnotatedObject < Field > implements AnnotatedMember < Field > { public MetaAnnotatedField ( Field field ) { super ( field , unroll ( field ) ) ; } public Annota...
<s> package org . metatype ; import java . lang . annotation . Annotation ; import java . util . ArrayList ; import java . util . List ; public class MetaAnnotation < T extends Annotation > { private final T annotation ; private final int depth ; private final List < MetaAnnotation < T > > conflicts = new ArrayList < M...
<s> package org . metatype ; import java . lang . reflect . Member ; public interface AnnotatedMember < T > extends Annotated < T > , Member { } </s>
<s> package org . metatype ; import java . io . InputStream ; import java . lang . annotation . Annotation ; import java . lang . reflect . Constructor ; import java . lang . reflect . Field ; import java . lang . reflect . Method ; import java . lang . reflect . Type ; import java . lang . reflect . TypeVariable ; imp...
<s> package org . metatype ; import java . util . Collection ; public interface MetaAnnotated < T > extends Annotated < T > { public Collection < MetaAnnotation < ? > > getMetaAnnotations ( ) ; } </s>
<s> package org . metatype ; import java . lang . annotation . Annotation ; import java . lang . reflect . Type ; public interface AnnotatedMethod < T > extends AnnotatedMember < T > { public Annotation [ ] [ ] getParameterAnnotations ( ) ; public Class < ? > [ ] getExceptionTypes ( ) ; public Class < ? > [ ] getParame...
<s> package org . metatype ; import java . lang . reflect . AnnotatedElement ; public interface Annotated < T > extends AnnotatedElement { T get ( ) ; } </s>
<s> package org . metatype ; import javax . annotation . Metaroot ; import javax . annotation . Metatype ; import static java . util . Arrays . asList ; import java . lang . annotation . Annotation ; import java . lang . annotation . Documented ; import java . lang . annotation . ElementType ; import java . lang . anno...
<s> package org . metatype ; import static java . lang . annotation . ElementType . ANNOTATION_TYPE ; import static java . lang . annotation . ElementType . PARAMETER ; import static java . lang . annotation . RetentionPolicy . RUNTIME ; import java . lang . annotation . Annotation ; import java . lang . annotation . R...
<s> package org . metatype ; import static java . lang . annotation . ElementType . ANNOTATION_TYPE ; import static java . lang . annotation . ElementType . CONSTRUCTOR ; import static java . lang . annotation . RetentionPolicy . RUNTIME ; import java . lang . annotation . Annotation ; import java . lang . annotation ....
<s> package org . metatype ; import static java . lang . annotation . ElementType . ANNOTATION_TYPE ; import static java . lang . annotation . ElementType . PARAMETER ; import static java . lang . annotation . RetentionPolicy . RUNTIME ; import java . lang . annotation . Annotation ; import java . lang . annotation . R...
<s> package org . metatype ; import static java . lang . annotation . ElementType . ANNOTATION_TYPE ; import static java . lang . annotation . ElementType . METHOD ; import static java . lang . annotation . RetentionPolicy . RUNTIME ; import java . lang . annotation . Annotation ; import java . lang . annotation . Rete...
<s> package org . metatype ; import static java . lang . annotation . ElementType . ANNOTATION_TYPE ; import static java . lang . annotation . ElementType . TYPE ; import static java . lang . annotation . RetentionPolicy . RUNTIME ; import java . lang . annotation . Annotation ; import java . lang . annotation . Retent...
<s> package org . metatype ; import static java . lang . annotation . ElementType . ANNOTATION_TYPE ; import static java . lang . annotation . ElementType . TYPE ; import static java . lang . annotation . RetentionPolicy . RUNTIME ; import java . lang . annotation . Annotation ; import java . lang . annotation . Retent...
<s> package org . metatype ; import static java . lang . annotation . ElementType . ANNOTATION_TYPE ; import static java . lang . annotation . ElementType . FIELD ; import static java . lang . annotation . RetentionPolicy . RUNTIME ; import java . lang . annotation . Annotation ; import java . lang . annotation . Reten...
<s> package org . metatype ; import static java . lang . annotation . ElementType . ANNOTATION_TYPE ; import static java . lang . annotation . ElementType . TYPE ; import static java . lang . annotation . RetentionPolicy . RUNTIME ; import java . lang . annotation . Annotation ; import java . lang . annotation . Retent...
<s> package javax . annotation ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; @ Target ( ElementType . ANNOTATION_TYPE ) @ Retention ( RetentionPolicy . RUNTIME ) public @ inte...
<s> package javax . annotation ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; @ Metaroot @ Target ( ElementType . ANNOTATION_TYPE ) @ Retention ( RetentionPolicy . RUNTIME ) pu...
<s> package javax . ejb . meta ; import javax . ejb . TransactionAttribute ; import javax . ejb . TransactionAttributeType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import...
<s> package javax . ejb . meta ; import javax . ejb . Lock ; import javax . ejb . LockType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ;...
<s> package javax . ejb . meta ; import javax . ejb . AccessTimeout ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ AccessTimeout ( - <N...
<s> package javax . ejb . meta ; import javax . ejb . TransactionAttribute ; import javax . ejb . TransactionAttributeType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import...
<s> package javax . ejb . meta ; import javax . ejb . Schedule ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ Metatype @ Target ( { Ele...
<s> package javax . ejb . meta ; import javax . ejb . Schedule ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ Metatype @ Target ( { Ele...
<s> package javax . ejb . meta ; import javax . ejb . TransactionAttribute ; import javax . ejb . TransactionAttributeType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import...
<s> package javax . ejb . meta ; import javax . ejb . ConcurrencyManagement ; import javax . ejb . ConcurrencyManagementType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; impo...
<s> package javax . ejb . meta ; import javax . ejb . TransactionAttribute ; import javax . ejb . TransactionAttributeType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import...
<s> package javax . ejb . meta ; import javax . ejb . Schedule ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ Metatype @ Target ( { Ele...
<s> package javax . ejb . meta ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ Metatype @ Target ( { ElementType . METHOD } ) @ Retentio...
<s> package javax . ejb . meta ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ ContainerManagedConcurrency @ Metatype @ Target ( { Eleme...
<s> package javax . ejb . meta ; import javax . ejb . Schedule ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ Metatype @ Target ( { Ele...
<s> package javax . ejb . meta ; import javax . ejb . Schedule ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ Metatype @ Target ( { Ele...
<s> package javax . ejb . meta ; import javax . ejb . AccessTimeout ; import javax . ejb . TransactionAttribute ; import javax . ejb . TransactionAttributeType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java ...
<s> package javax . ejb . meta ; import javax . ejb . Lock ; import javax . ejb . LockType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ;...
<s> package javax . ejb . meta ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ Metatype @ Target ( { ElementType . METHOD } ) @ Retentio...
<s> package javax . ejb . meta ; import javax . ejb . TransactionAttribute ; import javax . ejb . TransactionAttributeType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import...
<s> package javax . ejb . meta ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import javax . annotation . Metatype ; @ ContainerManagedTransactions @ Metatype @ Target ( { Elem...
<s> package javax . ejb . meta ; import javax . ejb . TransactionAttribute ; import javax . ejb . TransactionAttributeType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; import...
<s> package javax . ejb . meta ; import javax . ejb . TransactionManagement ; import javax . ejb . TransactionManagementType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; impo...
<s> package javax . ejb . meta ; import javax . ejb . TransactionManagement ; import javax . ejb . TransactionManagementType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; impo...
<s> package javax . ejb . meta ; import javax . ejb . ConcurrencyManagement ; import javax . ejb . ConcurrencyManagementType ; import java . lang . annotation . ElementType ; import java . lang . annotation . Retention ; import java . lang . annotation . RetentionPolicy ; import java . lang . annotation . Target ; impo...
<s> package smartrics . rest . fitnesse . fixture ; import java . io . ByteArrayOutputStream ; import java . io . PrintStream ; import smartrics . rest . fitnesse . fixture . support . CellFormatter ; import smartrics . rest . fitnesse . fixture . support . CellWrapper ; import smartrics . rest . fitnesse . fixture . s...
<s> package smartrics . rest . fitnesse . fixture ; import java . io . BufferedReader ; import java . io . File ; import java . io . FileNotFoundException ; import java . io . FileReader ; import java . io . IOException ; import org . apache . commons . logging . Log ; import org . apache . commons . logging . LogFacto...
<s> package smartrics . rest . fitnesse . fixture ; import smartrics . rest . fitnesse . fixture . support . CellFormatter ; import smartrics . rest . fitnesse . fixture . support . CellWrapper ; import smartrics . rest . fitnesse . fixture . support . RestDataTypeAdapter ; import smartrics . rest . fitnesse . fixture ...
<s> package smartrics . rest . fitnesse . fixture ; import java . util . Map ; import org . slf4j . Logger ; import org . slf4j . LoggerFactory ; import smartrics . rest . fitnesse . fixture . RestFixture . Runner ; import smartrics . rest . fitnesse . fixture . support . CellFormatter ; import smartrics . rest . fitne...
<s> package smartrics . rest . fitnesse . fixture ; import smartrics . rest . fitnesse . fixture . support . CellWrapper ; public class SlimCell implements CellWrapper < String > { private String cell ; public SlimCell ( String c ) { this . cell = c ; } @ Override public String text ( ) { return cell ; } @ Override pub...
<s> package smartrics . rest . fitnesse . fixture ; import org . apache . commons . httpclient . HttpClient ; import org . apache . commons . httpclient . HttpURL ; import org . apache . commons . httpclient . URI ; import org . apache . commons . httpclient . URIException ; import smartrics . rest . client . RestClien...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . util . Collection ; import fit . Parse ; public abstract class BodyTypeAdapter extends RestDataTypeAdapter { private String charset ; public BodyTypeAdapter ( ) { super ( ) ; } protected void setCharset ( String charset ) { this . charset = cha...
<s> package smartrics . rest . fitnesse . fixture . support ; public interface RowWrapper < E > { CellWrapper < E > getCell ( int c ) ; int size ( ) ; CellWrapper < E > removeCell ( int c ) ; } </s>
<s> package smartrics . rest . fitnesse . fixture . support ; import java . util . regex . Pattern ; import java . util . regex . Matcher ; import java . util . regex . PatternSyntaxException ; import fit . Parse ; public class TextBodyTypeAdapter extends BodyTypeAdapter { @ Override public boolean equals ( Object exp ...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . util . ArrayList ; import java . util . Collection ; import java . util . List ; import smartrics . rest . client . RestData . Header ; public class HeadersTypeAdapter extends RestDataTypeAdapter { @ Override @ SuppressWarnings ( "<STR_LIT:unch...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . nio . charset . Charset ; import java . util . HashMap ; import java . util . Map ; public class BodyTypeAdapterFactory { @ SuppressWarnings ( "<STR_LIT:rawtypes>" ) private static Map < ContentType , Class > contentTypeToBodyTypeAdapter = new ...
<s> package smartrics . rest . fitnesse . fixture . support ; public class StringTypeAdapter extends RestDataTypeAdapter { public StringTypeAdapter ( ) { } @ Override public boolean equals ( Object expected , Object actual ) { String se = "<STR_LIT:null>" ; if ( expected != null ) { se = expected . toString ( ) ; } Str...
<s> package smartrics . rest . fitnesse . fixture . support ; import org . apache . commons . httpclient . Credentials ; import org . apache . commons . httpclient . HostConfiguration ; import org . apache . commons . httpclient . HttpClient ; import org . apache . commons . httpclient . UsernamePasswordCredentials ; i...
<s> package smartrics . rest . fitnesse . fixture . support ; public class JavascriptException extends RuntimeException { private static final long serialVersionUID = <NUM_LIT:1L> ; public JavascriptException ( String message ) { super ( message ) ; } } </s>
<s> package smartrics . rest . fitnesse . fixture . support ; import java . lang . reflect . InvocationTargetException ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . List ; import java . util . Map ; import org . mozilla . javascript . Context ; import org . mozilla . javascript ...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . io . BufferedReader ; import java . io . ByteArrayInputStream ; import java . io . IOException ; import java . io . InputStream ; import java . io . InputStreamReader ; import java . io . StringReader ; import java . io . StringWriter ; import ...
<s> package smartrics . rest . fitnesse . fixture . support . http ; import org . apache . commons . httpclient . HostConfiguration ; import org . apache . commons . httpclient . URI ; import org . apache . commons . httpclient . URIException ; public class PostMethod extends org . apache . commons . httpclient . metho...
<s> package smartrics . rest . fitnesse . fixture . support . http ; import org . apache . commons . httpclient . HostConfiguration ; import org . apache . commons . httpclient . HttpHost ; import org . apache . commons . httpclient . HttpURL ; import org . apache . commons . httpclient . URI ; import org . apache . co...
<s> package smartrics . rest . fitnesse . fixture . support . http ; import org . apache . commons . httpclient . HostConfiguration ; import org . apache . commons . httpclient . URI ; import org . apache . commons . httpclient . URIException ; public class GetMethod extends org . apache . commons . httpclient . method...
<s> package smartrics . rest . fitnesse . fixture . support . http ; import org . apache . commons . httpclient . HostConfiguration ; import org . apache . commons . httpclient . URI ; import org . apache . commons . httpclient . URIException ; public class DeleteMethod extends org . apache . commons . httpclient . met...
<s> package smartrics . rest . fitnesse . fixture . support . http ; import org . apache . commons . httpclient . HostConfiguration ; import org . apache . commons . httpclient . URI ; import org . apache . commons . httpclient . URIException ; public class PutMethod extends org . apache . commons . httpclient . method...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . util . ArrayList ; import java . util . Collections ; import java . util . List ; import java . util . Map ; import fit . TypeAdapter ; public abstract class RestDataTypeAdapter extends TypeAdapter implements fitnesse . slim . Converter { priva...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . util . HashMap ; import java . util . Map ; public class LetHandlerFactory { private static Map < String , LetHandler > strategies = new HashMap < String , LetHandler > ( ) ; static { strategies . put ( "<STR_LIT>" , new LetHeaderHandler ( ) ) ...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . util . HashMap ; import java . util . Map ; public final class Config { public static final String DEFAULT_CONFIG_NAME = "<STR_LIT:default>" ; private static final Map < String , Config > CONFIGURATIONS = new HashMap < String , Config > ( ) ; p...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . util . ArrayList ; import java . util . List ; import javax . xml . xpath . XPathConstants ; import org . w3c . dom . NodeList ; public class XPathBodyTypeAdapter extends BodyTypeAdapter { public XPathBodyTypeAdapter ( ) { } @ Override @ Suppre...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . util . Map ; import org . w3c . dom . NodeList ; import smartrics . rest . client . RestResponse ; public class LetBodyXmlHandler implements LetHandler { @ Override public String handle ( RestResponse response , Object expressionContext , Strin...
<s> package smartrics . rest . fitnesse . fixture . support ; public interface CellFormatter < E > { void exception ( CellWrapper < E > cellWrapper , Throwable exception ) ; void exception ( CellWrapper < E > cellWrapper , String exceptionMessage ) ; void check ( CellWrapper < E > valueCell , RestDataTypeAdapter adapte...
<s> package smartrics . rest . fitnesse . fixture . support ; import java . util . HashMap ; import java . util . Map ; import java . util . Map . Entry ; import java . util . regex . Matcher ; import java . util . regex . Pattern ; import fit . Fixture ; public class Variables { public static final Pattern VARIABLES_P...